mariadb/mysql-test/suite/tokudb.bugs/t/1684.test
Rich Prohaska 9e90516b35 refs #5545 use default_storage_engine in mysql tokudb.bugs tests
git-svn-id: file:///svn/mysql/tests/mysql-test@48570 c7de825b-a66e-492c-adef-691d508d4ae1
2012-10-03 22:35:02 +00:00

28 lines
582 B
Text
Executable file

--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 clustering key a(a);
#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;