diff --git a/tests/fullstack-test-dt/expr/compare_null.test b/tests/fullstack-test-dt/expr/compare_null.test index 43523fdf1d5..e70194bae57 100644 --- a/tests/fullstack-test-dt/expr/compare_null.test +++ b/tests/fullstack-test-dt/expr/compare_null.test @@ -1,4 +1,4 @@ -# Copyright 2023 PingCAP, Inc. +# Copyright 2024 PingCAP, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -17,7 +17,7 @@ mysql> drop table if exists test.t; mysql> create table test.t (a date); -mysql> insert into test.t values("2024-08-26"),("2024-08-25"),("2024-08-24"),("2024-08-23"); +mysql> insert into test.t values('2024-08-26'),('2024-08-25'),('2024-08-24'),('2024-08-23'); mysql> alter table test.t set tiflash replica 1; @@ -38,24 +38,24 @@ mysql> set session tidb_isolation_read_engines='tiflash'; select * from test.t w mysql> set session tidb_isolation_read_engines='tiflash'; select * from test.t where a not in (NULL); -mysql> set session tidb_isolation_read_engines='tiflash'; select * from test.t where a in (NULL, "2024-08-26"); +mysql> set session tidb_isolation_read_engines='tiflash'; select * from test.t where a in (NULL, '2024-08-26'); +------------+ | a | +------------+ | 2024-08-26 | +------------+ -mysql> set session tidb_isolation_read_engines='tiflash'; select * from test.t where a not in (NULL, "2024-08-26"); +mysql> set session tidb_isolation_read_engines='tiflash'; select * from test.t where a not in (NULL, '2024-08-26'); -mysql> set session tidb_isolation_read_engines='tiflash'; select * from test.t where a in (NULL, "2024-09-01"); +mysql> set session tidb_isolation_read_engines='tiflash'; select * from test.t where a in (NULL, '2024-09-01'); -mysql> set session tidb_isolation_read_engines='tiflash'; select * from test.t where a not in (NULL, "2024-09-01"); +mysql> set session tidb_isolation_read_engines='tiflash'; select * from test.t where a not in (NULL, '2024-09-01'); mysql> drop table if exists test.t; mysql> create table test.t (a date); -mysql> insert into test.t values("2024-08-26"),("2024-08-26"),("2024-08-26"),("2024-08-26"); +mysql> insert into test.t values('2024-08-26'),('2024-08-26'),('2024-08-26'),('2024-08-26'); mysql> alter table test.t set tiflash replica 1; @@ -63,7 +63,7 @@ func> wait_table test t mysql> alter table test.t compact tiflash replica; -mysql> set session tidb_isolation_read_engines='tiflash'; select * from test.t where a in (NULL, "2024-08-26"); +mysql> set session tidb_isolation_read_engines='tiflash'; select * from test.t where a in (NULL, '2024-08-26'); +------------+ | a | +------------+ @@ -73,7 +73,7 @@ mysql> set session tidb_isolation_read_engines='tiflash'; select * from test.t w | 2024-08-26 | +------------+ -mysql> set session tidb_isolation_read_engines='tiflash'; select * from test.t where a not in (NULL, "2024-08-26"); +mysql> set session tidb_isolation_read_engines='tiflash'; select * from test.t where a not in (NULL, '2024-08-26'); # not null @@ -81,7 +81,7 @@ mysql> drop table if exists test.t; mysql> create table test.t (a date not null); -mysql> insert into test.t values("2024-08-26"),("2024-08-25"),("2024-08-24"),("2024-08-23"); +mysql> insert into test.t values('2024-08-26'),('2024-08-25'),('2024-08-24'),('2024-08-23'); mysql> alter table test.t set tiflash replica 1; @@ -102,24 +102,24 @@ mysql> set session tidb_isolation_read_engines='tiflash'; select * from test.t w mysql> set session tidb_isolation_read_engines='tiflash'; select * from test.t where a not in (NULL); -mysql> set session tidb_isolation_read_engines='tiflash'; select * from test.t where a in (NULL, "2024-08-26"); +mysql> set session tidb_isolation_read_engines='tiflash'; select * from test.t where a in (NULL, '2024-08-26'); +------------+ | a | +------------+ | 2024-08-26 | +------------+ -mysql> set session tidb_isolation_read_engines='tiflash'; select * from test.t where a not in (NULL, "2024-08-26"); +mysql> set session tidb_isolation_read_engines='tiflash'; select * from test.t where a not in (NULL, '2024-08-26'); -mysql> set session tidb_isolation_read_engines='tiflash'; select * from test.t where a in (NULL, "2024-09-01"); +mysql> set session tidb_isolation_read_engines='tiflash'; select * from test.t where a in (NULL, '2024-09-01'); -mysql> set session tidb_isolation_read_engines='tiflash'; select * from test.t where a not in (NULL, "2024-09-01"); +mysql> set session tidb_isolation_read_engines='tiflash'; select * from test.t where a not in (NULL, '2024-09-01'); mysql> drop table if exists test.t; mysql> create table test.t (a date not null); -mysql> insert into test.t values("2024-08-26"),("2024-08-26"),("2024-08-26"),("2024-08-26"); +mysql> insert into test.t values('2024-08-26'),('2024-08-26'),('2024-08-26'),('2024-08-26'); mysql> alter table test.t set tiflash replica 1; @@ -127,7 +127,7 @@ func> wait_table test t mysql> alter table test.t compact tiflash replica; -mysql> set session tidb_isolation_read_engines='tiflash'; select * from test.t where a in (NULL, "2024-08-26"); +mysql> set session tidb_isolation_read_engines='tiflash'; select * from test.t where a in (NULL, '2024-08-26'); +------------+ | a | +------------+ @@ -137,4 +137,4 @@ mysql> set session tidb_isolation_read_engines='tiflash'; select * from test.t w | 2024-08-26 | +------------+ -mysql> set session tidb_isolation_read_engines='tiflash'; select * from test.t where a not in (NULL, "2024-08-26"); \ No newline at end of file +mysql> set session tidb_isolation_read_engines='tiflash'; select * from test.t where a not in (NULL, '2024-08-26');