Skip to content

Commit 42a0289

Browse files
committed
Tests: optimized fields
1 parent 1903b40 commit 42a0289

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

mysql-test/suite/versioning/r/optimized_fields.result

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,12 @@ select a from t where b=NULL query for system_time as of timestamp now(6);
5858
a
5959
Warnings:
6060
Warning 4075 Attempt to read unversioned field `b` in historical query
61+
select a from t where b is NULL query for system_time as of timestamp now(6);
62+
a
63+
1
64+
3
65+
Warnings:
66+
Warning 4075 Attempt to read unversioned field `b` in historical query
6167
select count(*), b from t group by b having b=NULL query for system_time as of timestamp now(6);
6268
count(*) b
6369
Warnings:

mysql-test/suite/versioning/t/optimized_fields.test

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ select * from t group by a having a=2 query for system_time as of timestamp now(
1616
select * from t group by b having b=2 query for system_time as of timestamp now(6);
1717
select a from t where b=2 query for system_time as of timestamp now(6);
1818
select a from t where b=NULL query for system_time as of timestamp now(6);
19+
select a from t where b is NULL query for system_time as of timestamp now(6);
1920
select count(*), b from t group by b having b=NULL query for system_time as of timestamp now(6);
2021
select a, b from t;
2122

0 commit comments

Comments
 (0)