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 ddl modify column from null to not null bug: check null value again before change to no null (#10948) #13533

Merged
merged 4 commits into from
Nov 19, 2019

Conversation

crazycs520
Copy link
Contributor

@crazycs520 crazycs520 commented Nov 18, 2019

What problem does this PR solve?

cherry-pick #10948

@crazycs520 crazycs520 changed the title ddl: fix ddl modify column from null to not null bug: check null valu… ddl: fix ddl modify column from null to not null bug: check null value again before change to no null (#10948) Nov 18, 2019
Copy link
Contributor

@zimulala zimulala left a comment

Choose a reason for hiding this comment

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

LGTM

@bb7133
Copy link
Member

bb7133 commented Nov 18, 2019

How about cherry-picking #13223 together?

@bb7133 bb7133 added type/3.0 cherry-pick status/LGT1 Indicates that a PR has LGTM 1. type/bugfix This PR fixes a bug. labels Nov 18, 2019
ddl/db_test.go Outdated
return
}
if times == 0 {
tk2.MustExec("insert into t1 values ();")
Copy link
Member

Choose a reason for hiding this comment

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

Please do not make assertions in hook function.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Great

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
Copy link
Contributor Author

/run-all-tests

@crazycs520
Copy link
Contributor Author

/run-all-tests

@zimulala zimulala merged commit 5b6f7c5 into pingcap:release-3.0 Nov 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/LGT1 Indicates that a PR has LGTM 1. type/bugfix This PR fixes a bug.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants