Commit ec0f18c2 authored by unknown's avatar unknown

Fix group_min_max.test - myisam may return slightly row count estimate on amd64

parent c00dd12c
...@@ -1984,7 +1984,7 @@ Table Op Msg_type Msg_text ...@@ -1984,7 +1984,7 @@ Table Op Msg_type Msg_text
test.t1 analyze status Table is already up to date test.t1 analyze status Table is already up to date
explain select distinct a1 from bug12672 where pk_col not in (1,2,3,4); explain select distinct a1 from bug12672 where pk_col not in (1,2,3,4);
id select_type table type possible_keys key key_len ref rows Extra id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE bug12672 range PRIMARY PRIMARY 4 NULL 93 Using where; Using temporary 1 SIMPLE bug12672 range PRIMARY PRIMARY 4 NULL # Using where; Using temporary
select distinct a1 from bug12672 where pk_col not in (1,2,3,4); select distinct a1 from bug12672 where pk_col not in (1,2,3,4);
a1 a1
a a
......
...@@ -666,6 +666,7 @@ create index idx12672_1 on bug12672 (a1,a2,b,c); ...@@ -666,6 +666,7 @@ create index idx12672_1 on bug12672 (a1,a2,b,c);
create index idx12672_2 on bug12672 (a1,a2,b); create index idx12672_2 on bug12672 (a1,a2,b);
analyze table t1; analyze table t1;
--replace_column 9 #
explain select distinct a1 from bug12672 where pk_col not in (1,2,3,4); explain select distinct a1 from bug12672 where pk_col not in (1,2,3,4);
select distinct a1 from bug12672 where pk_col not in (1,2,3,4); select distinct a1 from bug12672 where pk_col not in (1,2,3,4);
......
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