Fix buildbot errors: rec_per_key_part can be 0 if re-opening

This commit is contained in:
Sergey Petrunya 2010-11-08 20:51:31 +03:00
parent 7b33534b47
commit 476e90fc97

View File

@ -669,7 +669,7 @@ MI_INFO *mi_open(const char *name, int mode, uint open_flags)
pthread_mutex_unlock(&THR_LOCK_myisam);
bzero(info.buff, share->base.max_key_block_length * 2);
my_free(rec_per_key_part, MYF(0));
my_free(rec_per_key_part, MYF(MY_ALLOW_ZERO_PTR));
if (myisam_log_file >= 0)
{