mirror of
https://github.com/MariaDB/server.git
synced 2025-01-23 07:14:17 +01:00
9e90516b35
git-svn-id: file:///svn/mysql/tests/mysql-test@48570 c7de825b-a66e-492c-adef-691d508d4ae1
28 lines
582 B
Text
Executable file
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;
|
|
|