Commit 98494173 authored by Tim Callaghan's avatar Tim Callaghan

[t:4522] Fix mysql-test. Refs #4522

git-svn-id: file:///svn/mysql/tests/mysql-test@41009 c7de825b-a66e-492c-adef-691d508d4ae1
parent a0dab9b3
......@@ -8,7 +8,7 @@ count(*)
alter table t1 add clustering index b(b);
explain select count(*) from t1 where b > 0;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 index b b 5 NULL 4 Using where; Using index
1 SIMPLE t1 NA b b 5 NA NA NA
select count(*) from t1 where b > 0;
count(*)
4
......
......@@ -6,9 +6,11 @@ DROP TABLE IF EXISTS t1;
--enable_warnings
create table t1 (a int, b int) engine=tokudb;
insert into t1 values (1,1),(1,2),(2,1),(2,2);
select count(*) from t1 where b > 0;
alter table t1 add clustering index b(b);
--replace_column 4 NA 8 NA 9 NA 10 NA
explain select count(*) from t1 where b > 0;
select count(*) from t1 where b > 0;
DROP TABLE t1;
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment