summaryrefslogtreecommitdiff
path: root/storage
diff options
context:
space:
mode:
authorSergey Petrunya <psergey@askmonty.org>2012-01-02 21:56:16 +0100
committerSergey Petrunya <psergey@askmonty.org>2012-01-02 21:56:16 +0100
commit591fdbe18878a5321ecb656e3357c89d155b83f1 (patch)
tree7f2380569abfa513730535527dd14c8c1620ddbb /storage
parentb55a32788c6e297f15c14604558c3a3a4998ce33 (diff)
downloadmariadb-git-591fdbe18878a5321ecb656e3357c89d155b83f1.tar.gz
Fix compile warnings
Diffstat (limited to 'storage')
-rw-r--r--storage/maria/ma_write.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/maria/ma_write.c b/storage/maria/ma_write.c
index 5e70fde956a..b68f48d220d 100644
--- a/storage/maria/ma_write.c
+++ b/storage/maria/ma_write.c
@@ -472,9 +472,9 @@ static my_bool _ma_ck_write_btree_with_log(MARIA_HA *info, MARIA_KEY *key,
int error;
my_off_t new_root= *root;
uchar key_buff[MARIA_MAX_KEY_BUFF];
- MARIA_KEY org_key;
+ MARIA_KEY UNINIT_VAR(org_key); /* Set/used when now_transactional=TRUE */
DBUG_ENTER("_ma_ck_write_btree_with_log");
-
+
if (share->now_transactional)
{
/* Save original value as the key may change */