-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
batch point get for enum type get wrong result #24562
Labels
Comments
aytrack
added
type/bug
The issue is confirmed as a bug.
sig/execution
SIG execution
severity/critical
labels
May 12, 2021
MySQL > select * from `PK_TCOLLATION3966STROBJSTROBJ` where col1 = "6";
+------+------+------+------+------+
| COL1 | COL2 | COL4 | COL3 | COL5 |
+------+------+------+------+------+
0 rows in set
Time: 0.050s
MySQL > select * from `PK_TCOLLATION3966STROBJSTROBJ` where col1 in ("6");
+------------------------------------------------------------------------------+-----------------------------------------+---------------------+---------------------+-------------+
| COL1 | COL2 | COL4 | COL3 | COL5 |
+------------------------------------------------------------------------------+-----------------------------------------+---------------------+---------------------+-------------+
| U4G4QRNNFKE?P9Z[R^=BIM]CRFNGDOBPMZMTMJHC3OEW;<WF@BW2GAOZVQJW__DB[6E[OQ9TE4M< | 虡摿驟蚔冿峥仕牅癲ȱ矙榓咯腝縌窄軓旨鵁褪 | 5545-08-08 14:57:40 | 6286550474446791307 | 1.35567e+38 |
+------------------------------------------------------------------------------+-----------------------------------------+---------------------+---------------------+-------------+
1 row in set
Time: 0.061s |
aytrack
changed the title
point get for enum type get wrong result
batch point get for enum type get wrong result
May 12, 2021
Closed
21 tasks
/assign @lzmhhh123 |
A more simple case: create table t(a enum("a","b","c","d"), primary key(a));
insert into t values(1);
select * from t where t.a in ("1","b"); |
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 versions6. Fixed versions |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
2. What did you expect to see? (Required)
3. What did you see instead (Required)
4. What is your TiDB version? (Required)
The text was updated successfully, but these errors were encountered: