-
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
bigint unsigned primary key duplicate error info is not correct #12420
Labels
help wanted
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
severity/minor
sig/planner
SIG: Planner
type/bug
The issue is confirmed as a bug.
Comments
Confirming issue still exists against master (it's minor): drop table if exists t;
create table t(a bigint unsigned primary key);
insert into t values(18446744073709551615);
insert into t values(18446744073709551615);
..
mysql> insert into t values(18446744073709551615);
ERROR 1062 (23000): Duplicate entry '-1' for key 'PRIMARY'
mysql>
mysql> SELECT tidb_version()\G
*************************** 1. row ***************************
tidb_version(): Release Version: v4.0.0-beta.2-821-gfe07417e6
Edition: Community
Git Commit Hash: fe07417e6b2f28eb334117d44640d0760d7e9866
Git Branch: master
UTC Build Time: 2020-07-22 12:51:37
GoVersion: go1.13
Race Enabled: false
TiKV Min Version: v3.0.0-60965b006877ca7234adaced7890d7b029ed1306
Check Table Before Drop: false
1 row in set (0.00 sec) |
Closed
Please edit this comment or add a new comment to complete the following informationNot a bug
Duplicate bug
BugNote: Make Sure that 'component', and 'severity' labels are added 1. Root Cause Analysis (RCA) (optional)2. Symptom (optional)3. All Trigger Conditions (optional)4. Workaround (optional)5. Affected versions[v3.0.0:v3.0.20], [v4.0.0:v4.0.10], [v5.0.0-rc] 6. Fixed versionsmaster |
The values in ( FixedVersions ) fields are incorrect. |
2 similar comments
The values in ( FixedVersions ) fields are incorrect. |
The values in ( FixedVersions ) fields are incorrect. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
help wanted
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
severity/minor
sig/planner
SIG: Planner
type/bug
The issue is confirmed as a bug.
Bug Report
Please answer these questions before submitting your issue. Thanks!
If possible, provide a recipe for reproducing the error.
Check the below symptoms.
On MySQL:
On TiDB:
tidb-server -V
or runselect tidb_version();
on TiDB)?The text was updated successfully, but these errors were encountered: