1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +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

@ -5289,6 +5289,7 @@ create_tmp_table(THD *thd,TMP_TABLE_PARAM *param,List<Item> &fields,
keyinfo->key_length=(uint16) reclength;
keyinfo->name=(char*) "tmp";
keyinfo->algorithm= HA_KEY_ALG_UNDEF;
keyinfo->rec_per_key=0;
if (null_pack_length)
{
key_part_info->null_bit=0;