List:Commits« Previous MessageNext Message »
From:Frazer Clement Date:October 8 2009 3:23pm
Subject:bzr commit into mysql-5.0-bugteam branch (frazer:2816) Bug#39663
View as plain text  
#At file:///home/frazer/bzr/mysql-5.0-bugteam/

 2816 Frazer Clement	2009-10-08
      Fix compile break from bug#39663 fix
      modified:
        client/mysqltest.c

=== modified file 'client/mysqltest.c'
--- a/client/mysqltest.c	2009-10-05 12:57:00 +0000
+++ b/client/mysqltest.c	2009-10-08 15:23:15 +0000
@@ -6214,8 +6214,10 @@ void run_query_stmt(MYSQL *mysql, struct
   MYSQL_STMT *stmt;
   DYNAMIC_STRING ds_prepare_warnings;
   DYNAMIC_STRING ds_execute_warnings;
+  ulonglong affected_rows;
   DBUG_ENTER("run_query_stmt");
   DBUG_PRINT("query", ("'%-.60s'", query));
+  LINT_INIT(affected_rows);
 
   /*
     Init a new stmt if it's not already one created for this connection
@@ -6350,9 +6352,6 @@ void run_query_stmt(MYSQL *mysql, struct
       Need to grab affected rows information before getting
       warnings here
     */
-    ulonglong affected_rows;
-    LINT_INIT(affected_rows);
-
     if (!disable_info)
       affected_rows= mysql_affected_rows(mysql);
 

Thread
bzr commit into mysql-5.0-bugteam branch (frazer:2816) Bug#39663Frazer Clement8 Oct