mirror of
https://github.com/MariaDB/server.git
synced 2025-02-02 12:01:42 +01:00
9e90516b35
git-svn-id: file:///svn/mysql/tests/mysql-test@48570 c7de825b-a66e-492c-adef-691d508d4ae1
20 lines
566 B
Text
Executable file
20 lines
566 B
Text
Executable file
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
|
|
DROP TABLE IF EXISTS foo;
|
|
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);
|
|
explain select * From foo where a > 0;
|
|
id select_type table type possible_keys key key_len ref rows Extra
|
|
1 SIMPLE foo range a a 5 NULL NULL; Using where
|
|
select * From foo where a > 0;
|
|
a b
|
|
1 one
|
|
2 two
|
|
3 three
|
|
4 four
|
|
5 five
|
|
DROP TABLE foo;
|