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

 3596 Vasil Dimov	2010-09-15
      (partially) Fix Bug#55227 Fix compiler warnings in innodb with gcc 4.6
      Fix compiler warning:
      handler/ In function 'int trx_i_s_common_fill_table(THD*, TABLE_LIST*, COND*)':
      handler/ error: variable 'ret' set but not used [-Werror=unused-but-set-variable]

=== modified file 'storage/innodb_plugin/handler/'
--- a/storage/innodb_plugin/handler/	revid:vasil.dimov@stripped
+++ b/storage/innodb_plugin/handler/	revid:vasil.dimov@stripped
@@ -1013,6 +1013,7 @@ trx_i_s_common_fill_table(
 	see ; when that bug is resolved
 	we can enable the DBUG_RETURN(ret) above */
+	ret++;  // silence a gcc46 warning

Attachment: [text/bzr-bundle] bzr/
bzr commit into mysql-5.1-innodb branch (vasil.dimov:3596) Bug#55227vasil.dimov16 Sep