-
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
executor: set the DDL query string instead of execute
(#17407)
#17415
Conversation
Signed-off-by: sre-bot <[email protected]>
/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.
pls resolve the conflicts
executor/adapter.go
Outdated
@@ -637,6 +637,11 @@ func (a *ExecStmt) buildExecutor() (Executor, error) { | |||
if err != nil { | |||
return nil, err | |||
} | |||
<<<<<<< HEAD | |||
======= |
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.
@wjhuang2016
Please fix the conflict.
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.
LGTM
/run-all-tests |
@sre-bot merge failed. |
cherry-pick #17407 to release-3.0
What problem does this PR solve?
Issue Number: close #17401
Problem Summary:
We didn't set the DDL query string properly. In an
EXECUTE
statement, we need to use the DDL query string we executing, not theexecute
query string.What is changed and how it works?
Proposal: xxx
If the executor is an
ExecuteExec
, we set the query string to the real query string.Related changes
Check List
Tests
Side effects
Release note