-
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 sequence default value will cause primary-key occur not-null error #16437
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
Codecov Report
@@ Coverage Diff @@
## master #16437 +/- ##
===========================================
Coverage 80.6005% 80.6005%
===========================================
Files 506 506
Lines 137633 137633
===========================================
Hits 110933 110933
Misses 18119 18119
Partials 8581 8581 |
/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
/run-all-tests |
@AilinKid merge failed. |
/run-integration-copr-test |
/run-all-tests |
/merge |
/run-all-tests |
@AilinKid merge failed. |
/run-unit-test |
/run-unit-test |
cherry pick to release-4.0 in PR #16510 |
/build |
What problem does this PR solve?
close bug competition issue #11
What is changed and how it works?
if the default is expr(sequence expr), return nil directly in function
checkDefaultValue
otherwise will cause some primary key check problem.
Check List
Tests
Release note: ddl: fix sequence default value will cause primary-key occur not-null error