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

 3590 Vasil Dimov	2010-09-15
      (partially) Fix Bug#55227 Fix compiler warnings in innodb with gcc 4.6
      
      Fix compiler warning:
      dict/dict0crea.c: In function 'dict_create_index_tree_step':
      dict/dict0crea.c:630:16: error: variable 'table' set but not used [-Werror=unused-but-set-variable]

    modified:
      storage/innodb_plugin/dict/dict0crea.c
=== modified file 'storage/innodb_plugin/dict/dict0crea.c'
--- a/storage/innodb_plugin/dict/dict0crea.c	revid:vasil.dimov@stripped
+++ b/storage/innodb_plugin/dict/dict0crea.c	revid:vasil.dimov@stripped
@@ -627,7 +627,6 @@ dict_create_index_tree_step(
 {
 	dict_index_t*	index;
 	dict_table_t*	sys_indexes;
-	dict_table_t*	table;
 	dtuple_t*	search_tuple;
 	ulint		zip_size;
 	btr_pcur_t	pcur;
@@ -636,7 +635,6 @@ dict_create_index_tree_step(
 	ut_ad(mutex_own(&(dict_sys->mutex)));
 
 	index = node->index;
-	table = node->table;
 
 	sys_indexes = dict_sys->sys_indexes;
 


Attachment: [text/bzr-bundle] bzr/vasil.dimov@oracle.com-20100915083349-0769etk2r0v68urm.bundle
Thread
bzr commit into mysql-5.1-innodb branch (vasil.dimov:3590) Bug#55227vasil.dimov15 Sep