summaryrefslogtreecommitdiff
path: root/storage/myisam/mi_open.c
diff options
context:
space:
mode:
authorMikael Ronstrom <mikael@mysql.com>2009-10-21 13:59:11 +0200
committerMikael Ronstrom <mikael@mysql.com>2009-10-21 13:59:11 +0200
commit10210bfef2e16f9a2033bf6444bb18a121f989a1 (patch)
tree8072ec9cc4bcff99fea892a535c03e50f8e32316 /storage/myisam/mi_open.c
parentbbd922b09c94bafb18e583a00865750164358736 (diff)
parent9ef69958c5f9c0078b6e440cc2730c459d40964f (diff)
downloadmariadb-git-10210bfef2e16f9a2033bf6444bb18a121f989a1.tar.gz
Merge
Diffstat (limited to 'storage/myisam/mi_open.c')
-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 328cde20923..e18146f2357 100644
--- a/storage/myisam/mi_open.c
+++ b/storage/myisam/mi_open.c
@@ -700,7 +700,7 @@ err:
uchar *mi_alloc_rec_buff(MI_INFO *info, ulong length, uchar **buf)
{
uint extra;
- uint32 old_length;
+ uint32 UNINIT_VAR(old_length);
LINT_INIT(old_length);
if (! *buf || length > (old_length=mi_get_rec_buff_len(info, *buf)))