diff options
author | Sergey Petrunya <psergey@askmonty.org> | 2012-01-02 21:56:16 +0100 |
---|---|---|
committer | Sergey Petrunya <psergey@askmonty.org> | 2012-01-02 21:56:16 +0100 |
commit | 591fdbe18878a5321ecb656e3357c89d155b83f1 (patch) | |
tree | 7f2380569abfa513730535527dd14c8c1620ddbb /storage | |
parent | b55a32788c6e297f15c14604558c3a3a4998ce33 (diff) | |
download | mariadb-git-591fdbe18878a5321ecb656e3357c89d155b83f1.tar.gz |
Fix compile warnings
Diffstat (limited to 'storage')
-rw-r--r-- | storage/maria/ma_write.c | 4 |
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 */ |