-
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
types: fix parse date inconsistent with MySQL (#14405) #16242
types: fix parse date inconsistent with MySQL (#14405) #16242
Conversation
Signed-off-by: sre-bot <sre-bot@pingcap.com>
/run-all-tests |
/run-unit-test |
1 similar comment
/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
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
Will it break compatibility? |
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
Don't worry, it's ok. |
/merge |
Sorry @reafans, you don't have permission to trigger auto merge event on this branch. |
/merge |
/run-all-tests |
cherry-pick #14405 to release-3.0
Signed-off-by: Lonng heng@lonng.org
What problem does this PR solve?
The parse string to date inconsistent with MySQL:
The MySQL will check the hms even if the target type is
Date
.Mirror PR: tikv/tikv#6442
What is changed and how it works?
Check Date via
checkDatetimeType
Check List
Tests