List:Commits« Previous MessageNext Message »
From:vasil.dimov Date:September 14 2010 12:19pm
Subject:bzr commit into mysql-5.1-innodb branch (vasil.dimov:3573) Bug#55227
View as plain text  
#At file:///usr/local/devel/bzrroot/server/mysql-5.1-innodb/ based on revid:vasil.dimov@stripped

 3573 Vasil Dimov	2010-09-14
      (partially) Fix Bug#55227 Fix compiler warnings in innodb with gcc 4.6
      
      Fix compiler warning:
      trx/trx0purge.c: In function 'trx_purge_rec_release':
      trx/trx0purge.c:1007:18: error: variable 'arr' set but not used [-Werror=unused-but-set-variable]

    modified:
      storage/innobase/trx/trx0purge.c
=== modified file 'storage/innobase/trx/trx0purge.c'
--- a/storage/innobase/trx/trx0purge.c	revid:vasil.dimov@stripped
+++ b/storage/innobase/trx/trx0purge.c	revid:vasil.dimov@stripped
@@ -1004,12 +1004,8 @@ trx_purge_rec_release(
 /*==================*/
 	trx_undo_inf_t*	cell)	/* in: storage cell */
 {
-	trx_undo_arr_t*	arr;
-
 	mutex_enter(&(purge_sys->mutex));
 
-	arr = purge_sys->arr;
-
 	trx_purge_arr_remove_info(cell);
 
 	mutex_exit(&(purge_sys->mutex));


Attachment: [text/bzr-bundle] bzr/vasil.dimov@oracle.com-20100914121904-hyblrdlttytc8zvv.bundle
Thread
bzr commit into mysql-5.1-innodb branch (vasil.dimov:3573) Bug#55227vasil.dimov14 Sep