mariadb/mysql-test/suite/tokudb.bugs/r/3518.result
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

36 lines
829 B
Text

SET DEFAULT_STORAGE_ENGINE = 'tokudb';
DROP TABLE IF EXISTS foo;
set session tokudb_prelock_empty=off;
create table foo (a int, b bigint, primary key (a))engine=TokuDB;
insert into foo values (1,10),(2,20);
select * from foo;
a b
1 10
2 20
alter table foo add clustering index (b);
insert into foo values (3,30);
select * from foo where b >=10;
a b
1 10
2 20
3 30
drop table foo;
create table foo (a int, b bigint)engine=TokuDB;
insert into foo values (1,10),(2,20);
select * from foo;
a b
1 10
2 20
alter table foo add clustering index (b);
insert into foo values (3,30);
select * from foo where b >=10;
a b
1 10
2 20
3 30
drop table foo;
create table foo (a int, b longblob, clustering key (a));
insert into foo values (1,"aa");
insert into foo values (2,repeat('b', 100000));
insert into foo values (3,"bbb");
DROP TABLE foo;