diff options
author | Sergey Petrunya <psergey@askmonty.org> | 2010-11-08 20:51:31 +0300 |
---|---|---|
committer | Sergey Petrunya <psergey@askmonty.org> | 2010-11-08 20:51:31 +0300 |
commit | 476e90fc976fa27fc2f207960848b85e6e676ce9 (patch) | |
tree | 4d1ee99a3e949787e4589645acd5ecbcdea742fe /storage/myisam | |
parent | 7b33534b472b8f8f0579a3f18d361bd6fa02543c (diff) | |
download | mariadb-git-476e90fc976fa27fc2f207960848b85e6e676ce9.tar.gz |
Fix buildbot errors: rec_per_key_part can be 0 if re-opening
Diffstat (limited to 'storage/myisam')
-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) { |