summaryrefslogtreecommitdiff
path: root/storage/myisam
diff options
context:
space:
mode:
authorSergey Petrunya <psergey@askmonty.org>2010-11-08 20:51:31 +0300
committerSergey Petrunya <psergey@askmonty.org>2010-11-08 20:51:31 +0300
commit476e90fc976fa27fc2f207960848b85e6e676ce9 (patch)
tree4d1ee99a3e949787e4589645acd5ecbcdea742fe /storage/myisam
parent7b33534b472b8f8f0579a3f18d361bd6fa02543c (diff)
downloadmariadb-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.c2
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)
{