mariadb/storage/tokudb/mysql-test/tokudb_bugs/t/1711.test
2013-09-09 13:59:38 +02:00

21 lines
464 B
Text

--source include/have_tokudb.inc
#
# Record inconsistency.
#
#
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--disable_warnings
DROP TABLE IF EXISTS foo;
--enable_warnings
create table foo (a int, b int, c int, key (a) clustering=yes)engine=tokudb;
insert into foo values (1,1,1),(1,2,2),(1,3,3),(2,1,4),(2,2,5),(2,3,6),(3,1,7),(3,2,8);
--replace_column 9 NULL;
explain select * From foo where a = 2;
select * From foo where a = 2;
# Final cleanup.
DROP TABLE foo;