-
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
ddl: fix the set's default value where create table
(#12267)
#12468
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.
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
Sorry @crazycs520, you don't have permission to trigger auto merge event on this branch. |
/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
The PR is failed to pass mysql-test.
The following is error msg:
2019-09-29T06:16:03.029Z] 2019/09/29 14:16:02.567 main.go:693: [fatal] run test [type_timestamp] err: sql:ALTER TABLE t1 ADD c2 TIMESTAMP DEFAULT '2012-02-00';: failed to run query
[2019-09-29T06:16:03.029Z] "ALTER TABLE t1 ADD c2 TIMESTAMP DEFAULT '2012-02-00';"
[2019-09-29T06:16:03.029Z] around line 323,
[2019-09-29T06:16:03.029Z] we need(108):
[2019-09-29T06:16:03.029Z] ALTER TABLE t1 ADD c2 TIMESTAMP DEFAULT '2012-02-00';
[2019-09-29T06:16:03.029Z] Error 1048: invalid default value - [types:1292]invali
[2019-09-29T06:16:03.029Z] but got(108):
[2019-09-29T06:16:03.029Z] ALTER TABLE t1 ADD c2 TIMESTAMP DEFAULT '2012-02-00';
[2019-09-29T06:16:03.029Z] Error 1292: invalid time format: '{2012 2 0 0 0 0 0}'
It seems has nothing to do with this PR.
/run-all-tests |
/merge |
/run-all-tests |
@zimulala merge failed. |
/run-all-tests |
cherry-pick #12267 to v2.1