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!
create table t(a int,b enum("b","y","1")); insert into t values(0,"y"),(1,"b"),(null,null),(2,"1"); SELECT count(*) FROM t where if(a,b ,null);
2
1 the result of mysql 8.0.24 is 2
Release Version: v4.0.0-beta.2-2807-g289dcfefd-dirty Edition: Community Git Commit Hash: 289dcfe Git Branch: master UTC Build Time: 2021-05-06 15:11:16 GoVersion: go1.13 Race Enabled: false TiKV Min Version: v3.0.0-60965b006877ca7234adaced7890d7b029ed1306 Check Table Before Drop: false
The text was updated successfully, but these errors were encountered:
Duplicate of #23114 Only one issue is enough, I will fix it soon.
Sorry, something went wrong.
Note: Make Sure that 'component', and 'severity' labels are added Example for how to fill out the template: #20100
wshwsh12
No branches or pull requests
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
2. What did you expect to see? (Required)
2
3. What did you see instead (Required)
1
the result of mysql 8.0.24 is 2
4. What is your TiDB version? (Required)
Release Version: v4.0.0-beta.2-2807-g289dcfefd-dirty
Edition: Community
Git Commit Hash: 289dcfe
Git Branch: master
UTC Build Time: 2021-05-06 15:11:16
GoVersion: go1.13
Race Enabled: false
TiKV Min Version: v3.0.0-60965b006877ca7234adaced7890d7b029ed1306
Check Table Before Drop: false
The text was updated successfully, but these errors were encountered: