-
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: create partition table fail with strconv.ParseInt invalid syntax (#16436) #16499
ddl: create partition table fail with strconv.ParseInt invalid syntax (#16436) #16499
Conversation
Signed-off-by: sre-bot <sre-bot@pingcap.com>
/run-all-tests |
ddl/db_partition_test.go
Outdated
@@ -261,6 +261,26 @@ func (s *testIntegrationSuite9) TestCreateTableWithPartition(c *C) { | |||
PARTITION p2 VALUES LESS THAN (2000), | |||
PARTITION p3 VALUES LESS THAN (2005) | |||
);`, tmysql.ErrBadField) | |||
<<<<<<< HEAD | |||
======= |
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.
@tiancaiamao Please fix conflicts.
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.
Done
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 |
/run-all-tests |
cherry-pick #16436 to release-3.1
What problem does this PR solve?
Issue Number: close #16333
Problem Summary:
What is changed and how it works?
Proposal: xxx
What's Changed:
Fix bug
How it Works:
During the create of the table, the partition information should be convert to integer.
The 'less than xxx' part of a partition in the model should be integers.
I don't know why it's broken and which PR cause this.
4.0 is fine.
Tests