1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Fix for BUG#8371: wrong rec_per_key value for hash index on temporary table

This commit is contained in:
sergefp@mysql.com
2005-02-08 23:44:51 +03:00
parent 1c2f4ffecb
commit dcc65b77a6
4 changed files with 24 additions and 6 deletions

View File

@ -251,3 +251,9 @@ explain select * from t1 ignore key(btree_idx), t3 where t1.name='matt' and t3.a
drop table t1, t2, t3;
# Fix for BUG#8371: wrong rec_per_key value for hash index on temporary table
create temporary table t1 ( a int, index (a) ) engine=memory;
insert into t1 values (1),(2),(3),(4),(5);
select a from t1 where a in (1,3);
explain select a from t1 where a in (1,3);
drop table t1;