-
Notifications
You must be signed in to change notification settings - Fork 85
sql: fix where condition without brackets problem #372
sql: fix where condition without brackets problem #372
Conversation
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. Reviewer can indicate their review by submitting an approval review. |
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
tests/basic/run.sh
Outdated
@@ -40,6 +40,27 @@ expected=$(seq 3 9) | |||
echo "expected ${expected}, actual ${actual}" | |||
[ "$actual" = "$expected" ] | |||
|
|||
# Test for OR WHERE case. **Must dump MySQL here!!** |
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.
Must dump MySQL here!! What does this mean?🤔
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.
How about change these words to:
Better dump MySQL here because Dumpling has some special handle for concurrently dump TiDB tables.
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 |
This pull request has been accepted and is ready to merge. Commit hash: e6d5341
|
In response to a cherrypick label: new pull request created: #373. |
In response to a cherrypick label: new pull request created: #374. |
In response to a cherrypick label: new pull request created: #375. |
In response to a cherrypick label: new pull request created: #376. |
What problem does this PR solve?
close #371
What is changed and how it works?
If both
conf.Where
andwhere
has a value, we use brackets to wrap these two conditions.Check List
Tests
Dumpling before this commit can't pass new integration tests.
Side effects
Related changes
Release note