We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Please answer these questions before submitting your issue. Thanks!
drop table if exists t1, t2; create table t1 (c_int int, c_str varchar(40), primary key(c_str), unique key(c_int), unique key(c_str)); create table t2 (c_int int, c_str varchar(40), primary key(c_int, c_str(4)), key(c_int), unique key(c_str)); insert into t1 values (1, 'cool buck'), (2, 'reverent keller'); insert into t2 select * from t1; select * from t1, t2 where t1.c_str = t2.c_str and t1.c_int = t2.c_int and t1.c_int = 2;
+-------+-----------------+-------+-----------------+ | c_int | c_str | c_int | c_str | +-------+-----------------+-------+-----------------+ | 2 | reverent keller | 2 | reverent keller | +-------+-----------------+-------+-----------------+
Empty set
release-5.0 (09a4c57)
The text was updated successfully, but these errors were encountered:
I try these operations on v4.0.11, it got the correct result.
Sorry, something went wrong.
/assign @ichn-hu
Note: Make Sure that 'component', and 'severity' labels are added Example for how to fill out the template: #20100
lzmhhh123
Successfully merging a pull request may close this issue.
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)
Empty set
4. What is your TiDB version? (Required)
release-5.0 (09a4c57)
The text was updated successfully, but these errors were encountered: