diff options
-rw-r--r-- | storage/myisam/mi_open.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/myisam/mi_open.c b/storage/myisam/mi_open.c index 994df663d4a..59bf36b3cb2 100644 --- a/storage/myisam/mi_open.c +++ b/storage/myisam/mi_open.c @@ -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) { |