You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please answer these questions before submitting your issue. Thanks!
1. What did you do?
droptable if exists t;
createtablet(a char(2) primary key, b char(2));
insert into t values("a ", "b ");
set @@sql_mode="PAD_CHAR_TO_FULL_LENGTH";
select*from t tmp where a ="a";
2. What did you expect to see?
the correct result should be empty:
MySQL(root@localhost:test) >select*from t tmp where a ="a";
Empty set (0.00 sec)
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. What did you do?
2. What did you expect to see?
the correct result should be empty:
mysql version:
3. What did you see instead?
In TiDB the result is:
the range is:
actually the range should be:
["a ","a "]
4. What version of TiDB are you using (
tidb-server -V
or runselect tidb_version();
on TiDB)?The text was updated successfully, but these errors were encountered: