Skip to content
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

Closed
wants to merge 6 commits into from

Conversation

zimulala
Copy link
Contributor

cherry-pick #12267 to v2.1

Copy link
Contributor

@lonng lonng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@bb7133 bb7133 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@crazycs520 crazycs520 added the status/can-merge Indicates a PR has been approved by a committer. label Sep 29, 2019
@sre-bot
Copy link
Contributor

sre-bot commented Sep 29, 2019

Sorry @crazycs520, you don't have permission to trigger auto merge event on this branch.

@crazycs520
Copy link
Contributor

/run-all-tests

@zimulala zimulala added the status/LGT2 Indicates that a PR has LGTM 2. label Oct 3, 2019
Copy link
Contributor

@zhexuany zhexuany left a 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.

@zz-jason
Copy link
Member

/run-all-tests

@zz-jason
Copy link
Member

/merge

@sre-bot
Copy link
Contributor

sre-bot commented Oct 14, 2019

/run-all-tests

@sre-bot
Copy link
Contributor

sre-bot commented Oct 14, 2019

@zimulala merge failed.

@zyxbest
Copy link
Contributor

zyxbest commented Oct 21, 2019

/run-all-tests

@zimulala zimulala closed this Oct 23, 2019
@zimulala zimulala deleted the set-2.1 branch March 1, 2023 04:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/can-merge Indicates a PR has been approved by a committer. status/LGT2 Indicates that a PR has LGTM 2. type/bugfix This PR fixes a bug.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants