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. Minimal reproduce step (Required)
DROPTABLE IF EXISTS t0;
DROPTABLE IF EXISTS t1;
CREATETABLEt0(c0 TEXT(227));
CREATETABLEt1LIKE t0;
INSERT INTO t1 VALUES ('');
SELECTCOUNT(*) FROM t1 LEFT JOIN t0 ONt0.c0<>t1.c0WHERE (NULLANDt1.c0) <=> (t0.c0IS NOT NULL);
2. What did you expect to see? (Required)
see the following case:
3. What did you see instead (Required)
// MySQL 8.4.1
MySQL [test]>SELECTCOUNT(*) FROM t1 LEFT JOIN t0 ONt0.c0<>t1.c0WHERE (NULLANDt1.c0) <=> (t0.c0IS NOT NULL);
+----------+
| COUNT(*) |
+----------+
| 1 |
+----------+1 row inset (0.01 sec)
// TiDB
mysql>SELECTCOUNT(*) FROM t1 LEFT JOIN t0 ONt0.c0<>t1.c0WHERE (NULLANDt1.c0) <=> (t0.c0IS NOT NULL);
+----------+
| COUNT(*) |
+----------+
| 0 |
+----------+1 row inset (0.04 sec)
4. What is your TiDB version? (Required)
TiDB v8.5.0
The text was updated successfully, but these errors were encountered:
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
2. What did you expect to see? (Required)
see the following case:
3. What did you see instead (Required)
4. What is your TiDB version? (Required)
TiDB v8.5.0
The text was updated successfully, but these errors were encountered: