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

28 lines
586 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 blob)engine=tokudb;
insert into foo values (1,"one");
insert into foo values (3,"three");
insert into foo values (5,"five");
insert into foo values (2,"two");
insert into foo values (4,"four");
alter table foo add key a(a) clustering=yes;
#ignore rows column
--replace_column 9 NULL;
explain select * From foo where a > 0;
select * From foo where a > 0;
# Final cleanup.
DROP TABLE foo;