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

 3567 Vasil Dimov	2010-09-14
      (partially) Fix Bug#55227 Fix compiler warnings in innodb with gcc 4.6
      
      Fix compiler warning:
      row/row0purge.c: In function 'row_purge_step':
      row/row0purge.c:660:9: error: variable 'err' set but not used [-Werror=unused-but-set-variable]
      
      (row_purge() always returns DB_SUCCESS)

    modified:
      storage/innobase/row/row0purge.c
=== modified file 'storage/innobase/row/row0purge.c'
--- a/storage/innobase/row/row0purge.c	revid:vasil.dimov@stripped
+++ b/storage/innobase/row/row0purge.c	revid:vasil.dimov@stripped
@@ -667,7 +667,7 @@ row_purge_step(
 
 	err = row_purge(node, thr);
 
-	ut_ad(err == DB_SUCCESS);
+	ut_a(err == DB_SUCCESS);
 
 	return(thr);
 }


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