1
# this test crashes because tokudb does not handle index_end after txn commit (MDEV-5396)
3
source include/have_tokudb.inc;
6
drop table if exists t1,t2,t3;
11
CREATE TABLE t1 (a INT) ENGINE=TokuDB;
12
INSERT INTO t1 VALUES (1),(2);
14
CREATE TABLE t2 (b INT) ENGINE=TokuDB;
15
INSERT INTO t2 VALUES (3),(4);
17
CREATE TABLE t3 (c VARCHAR(3), INDEX(c)) ENGINE=TokuDB;
18
INSERT INTO t3 VALUES ('foo'),('bar');
20
EXPLAIN SELECT * FROM t1
21
WHERE a IN ( SELECT b FROM t2 ) OR ( 'qux' ) IN ( SELECT c FROM t3 );
23
drop table if exists t1,t2,t3;
b'\\ No newline at end of file'