-
Notifications
You must be signed in to change notification settings - Fork 5.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
*: fix the read-only check for the prepare/execute statement #9723
Conversation
/run-all-tests |
/run-all-tests |
Codecov Report
@@ Coverage Diff @@
## master #9723 +/- ##
================================================
+ Coverage 77.4754% 77.5712% +0.0957%
================================================
Files 403 404 +1
Lines 81782 81761 -21
================================================
+ Hits 63361 63423 +62
+ Misses 13705 13649 -56
+ Partials 4716 4689 -27 |
/run-all-tests |
/run-unit-test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/run-all-tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
What problem does this PR solve?
For binary protocol,
prepare select * from t where i = 1
thenexecute stmt
will mark the statement as not read-only.What is changed and how it works?
Get the real prepare statement when checking read-only.
Check List
Tests
Code changes
Related changes