[Commits] Rev 3201: Fix compile warnings in file:///home/psergey/dev2/5.5-look2/

Sergey Petrunya psergey at askmonty.org
Mon Jan 2 22:56:17 EET 2012


At file:///home/psergey/dev2/5.5-look2/

------------------------------------------------------------
revno: 3201
revision-id: psergey at askmonty.org-20120102205616-v9u1s11mxaa5bc3d
parent: psergey at askmonty.org-20120102203117-fw593mr9r62037we
committer: Sergey Petrunya <psergey at askmonty.org>
branch nick: 5.5-look2
timestamp: Mon 2012-01-02 21:56:16 +0100
message:
  Fix compile warnings
=== modified file 'storage/maria/ma_write.c'
--- a/storage/maria/ma_write.c	2011-10-19 19:45:18 +0000
+++ b/storage/maria/ma_write.c	2012-01-02 20:56:16 +0000
@@ -472,9 +472,9 @@
   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 */



More information about the commits mailing list