mirror of
https://github.com/MariaDB/server.git
synced 2025-02-02 12:01:42 +01:00
dbbbf18f40
git-svn-id: file:///svn/mysql/tests/mysql-test@38884 c7de825b-a66e-492c-adef-691d508d4ae1
37 lines
No EOL
950 B
Text
37 lines
No EOL
950 B
Text
#--source include/have_tokudb.inc
|
|
SET STORAGE_ENGINE='tokudb';
|
|
|
|
--disable_warnings
|
|
DROP TABLE IF EXISTS t1;
|
|
--enable_warnings
|
|
|
|
create table t1(a int, b int, c int, d int, primary key(a), clustering key(b), key (c))engine=tokudb;
|
|
|
|
insert into t1 values (1,1,1,1),(2,2,2,2),(3,3,3,3),(4,4,4,4),(5,5,5,5),(6,6,6,6),(7,7,7,7),(8,8,8,8),(9,9,9,9);
|
|
|
|
# ignore rows column
|
|
--replace_column 9 NULL;
|
|
explain select * from t1 where b > 2;
|
|
# ignore rows column
|
|
--replace_column 9 NULL;
|
|
explain select * from t1 where c > 2;
|
|
|
|
# ignore rows column
|
|
--replace_column 9 NULL;
|
|
explain select * from t1 where a > 4;
|
|
|
|
# ignore rows column
|
|
--replace_column 9 NULL;
|
|
explain select * from t1 where c > 7;
|
|
# ignore rows column
|
|
--replace_column 9 NULL;
|
|
explain select * from t1 where b > 7;
|
|
|
|
# ignore rows column
|
|
--replace_column 9 NULL;
|
|
explain select a from t1 where b > 0;
|
|
# ignore rows column
|
|
--replace_column 9 NULL;
|
|
explain select a from t1 where c > 0;
|
|
|
|
drop table t1; |