-
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
server: return OK when there is no stmt #22738
Conversation
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.
Is it possible to add a unit test case?
Done |
LGTM |
Note: I've changed the test to add a timeout component. There is no test for master for this case, so I will prepare another PR shortly. |
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 |
/run-all-tests |
What problem does this PR solve?
Issue Number: Fixes #22646
Problem Summary:
There was a regression introduced in the 4.0 branch by a cherry-pick. The issue does not exist in the master branch, or any public released binaries yet. It was caught before 4.0.11 was released. It does not exist in 4.0.10.
I am unsure if connectors rely on this functionality. There is a
COM_PING
protocol feature, but it's possible that an incorrectly implemented driver uses an empty query instead. In which case it could be quite a serious issue.What is changed and how it works?
Proposal: xxx
What's Changed:
How it Works:
Related changes
pingcap/docs
/pingcap/docs-cn
:Check List
Tests
Side effects
Release note