Debian Codegraph @

mysql-test/suite/heap/btree_varchar_null.test

raw
1 #
2 # MDEV-4813 Replication fails on updating a MEMORY table with an index using btree
3 #
4 create table t1 (f1 varchar(128), f2 varchar(128), key (f2,f1) using btree) engine=memory;
5 insert into t1 values (null,'not'),('one',null),('two',null),('three','');
6 select * from t1 where f1 = 'one' and f2 is null;
7 drop table t1;