Skip to content

Commit

Permalink
ci
Browse files Browse the repository at this point in the history
  • Loading branch information
JinheLin committed Aug 27, 2024
1 parent 93a6341 commit b2f0cb4
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions tests/fullstack-test-dt/expr/compare_null.test
Original file line number Diff line number Diff line change
@@ -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.
Expand All @@ -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;

Expand All @@ -38,32 +38,32 @@ 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;

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 |
+------------+
Expand All @@ -73,15 +73,15 @@ 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

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;

Expand All @@ -102,32 +102,32 @@ 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;

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 |
+------------+
Expand All @@ -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");
mysql> set session tidb_isolation_read_engines='tiflash'; select * from test.t where a not in (NULL, '2024-08-26');

0 comments on commit b2f0cb4

Please sign in to comment.