Loading mysql-test/r/group_min_max.result +1 −1 Original line number Diff line number Diff line Loading @@ -1984,7 +1984,7 @@ Table Op Msg_type Msg_text 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); 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); a1 a Loading mysql-test/t/group_min_max.test +1 −0 Original line number Diff line number Diff line Loading @@ -666,6 +666,7 @@ create index idx12672_1 on bug12672 (a1,a2,b,c); create index idx12672_2 on bug12672 (a1,a2,b); analyze table t1; --replace_column 9 # 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); Loading Loading
mysql-test/r/group_min_max.result +1 −1 Original line number Diff line number Diff line Loading @@ -1984,7 +1984,7 @@ Table Op Msg_type Msg_text 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); 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); a1 a Loading
mysql-test/t/group_min_max.test +1 −0 Original line number Diff line number Diff line Loading @@ -666,6 +666,7 @@ create index idx12672_1 on bug12672 (a1,a2,b,c); create index idx12672_2 on bug12672 (a1,a2,b); analyze table t1; --replace_column 9 # 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); Loading