Commit 6bed7362 authored by Sergey Petrunya's avatar Sergey Petrunya

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

parent 47b2a5f8
...@@ -669,7 +669,7 @@ MI_INFO *mi_open(const char *name, int mode, uint open_flags) ...@@ -669,7 +669,7 @@ MI_INFO *mi_open(const char *name, int mode, uint open_flags)
pthread_mutex_unlock(&THR_LOCK_myisam); pthread_mutex_unlock(&THR_LOCK_myisam);
bzero(info.buff, share->base.max_key_block_length * 2); 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) if (myisam_log_file >= 0)
{ {
......
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