diff options
Diffstat (limited to 'mysql-test/suite/heap/btree_varchar_null.result')
-rw-r--r-- | mysql-test/suite/heap/btree_varchar_null.result | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mysql-test/suite/heap/btree_varchar_null.result b/mysql-test/suite/heap/btree_varchar_null.result new file mode 100644 index 00000000..9199cf6e --- /dev/null +++ b/mysql-test/suite/heap/btree_varchar_null.result @@ -0,0 +1,6 @@ +create table t1 (f1 varchar(128), f2 varchar(128), key (f2,f1) using btree) engine=memory; +insert into t1 values (null,'not'),('one',null),('two',null),('three',''); +select * from t1 where f1 = 'one' and f2 is null; +f1 f2 +one NULL +drop table t1; |