-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
*: support baseline capture for prepared statements #21271
Conversation
ff032b2
to
0de03c7
Compare
0de03c7
to
920ceed
Compare
62923da
to
378b3e8
Compare
This PR can partially fix #21475 as well. |
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
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.
Rest LGTM
Please resolve conflicts @eurekaka . |
378b3e8
to
a32bcf1
Compare
PTAL @Reminiscent |
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
/merge |
Your auto merge job has been accepted, waiting for:
|
/run-all-tests |
@eurekaka merge failed. |
PTAL @eurekaka |
63cf8dd
to
b2445cc
Compare
/run-all-tests |
/run-unit-test |
cherry pick to release-4.0 in PR #21931 |
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
Signed-off-by: ti-srebot <ti-srebot@pingcap.com> Co-authored-by: Kenan Yao <cauchy1992@gmail.com>
What problem does this PR solve?
Issue Number: close #21215
Problem Summary:
Baseline capture does not support prepared statements.
What is changed and how it works?
What's Changed:
SummaryStmt
if the query is a prepared statement;explain format='hint'
to generate hint string;explain format = 'hint'
to check the validation of the bind_sql if it is a prepared statement;Related changes
Check List
Tests
Side effects
?
now.Release note