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
mysql>selectcount(*) from (select col_29 between -2and1as a from t4e32b983) t where a =1;
+----------+
| count(*) |
+----------+
| 3 |
+----------+1 row inset (0.00 sec)
3. What did you see instead (Required)
mysql>select*from t4e32b983 where col_29 between -2and1;
Empty set (0.01 sec)
mysql>select*from t4e32b983 where col_29 between -2and2;
+--------+
| col_29 |
+--------+
| 2 |
+--------+1 row inset (0.00 sec)
mysql>select*from t4e32b983 where col_29 between -2and3;
+--------+
| col_29 |
+--------+
| 0 |
| 2 |
+--------+2 rows inset (0.01 sec)
mysql>select*from t4e32b983 where col_29 between -2and4;
+--------+
| col_29 |
+--------+
| 2 |
| 0 |
| -1 |
| 1 |
+--------+4 rows inset (0.01 sec)
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
2. What did you expect to see? (Required)
Three rows
3. What did you see instead (Required)
4. What is your TiDB version? (Required)
33480e8
The text was updated successfully, but these errors were encountered: