-
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 incompatible result of DATE_ADD()
(#19880)
#20627
types: fix incompatible result of DATE_ADD()
(#19880)
#20627
Conversation
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
/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.
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
/merge |
Sorry @wshwsh12, this branch cannot be merged without an approval of release maintainers |
/merge |
Sorry @bb7133, this branch cannot be merged without an approval of release maintainers |
/merge |
Your auto merge job has been accepted, waiting for:
|
/run-all-tests |
@ti-srebot merge failed. |
/run-integration-common-test |
/merge |
/run-all-tests |
@ti-srebot merge failed. |
/run-unit-test |
/merge |
/run-all-tests |
cherry-pick #19880 to release-3.0
What problem does this PR solve?
Issue Number: close #11645
Problem Summary:
The SQL
select DATE_ADD('2007-03-28 22:08:28',INTERVAL "-2.-2" SECOND);
is incorrect.What is changed and how it works?
What's Changed:
change the parse of the fraction part number.
How it Works:
Release note
select DATE_ADD('2007-03-28 22:08:28',INTERVAL "-2.-2" SECOND)
to be same with the MySQL;Check List
Tests
Side effects
Nothing.