Commit 844eb557 authored by Frazer Clement's avatar Frazer Clement

Fix compile break from bug#39663 fix

parent 99318017
...@@ -6214,8 +6214,10 @@ void run_query_stmt(MYSQL *mysql, struct st_command *command, ...@@ -6214,8 +6214,10 @@ void run_query_stmt(MYSQL *mysql, struct st_command *command,
MYSQL_STMT *stmt; MYSQL_STMT *stmt;
DYNAMIC_STRING ds_prepare_warnings; DYNAMIC_STRING ds_prepare_warnings;
DYNAMIC_STRING ds_execute_warnings; DYNAMIC_STRING ds_execute_warnings;
ulonglong affected_rows;
DBUG_ENTER("run_query_stmt"); DBUG_ENTER("run_query_stmt");
DBUG_PRINT("query", ("'%-.60s'", query)); DBUG_PRINT("query", ("'%-.60s'", query));
LINT_INIT(affected_rows);
/* /*
Init a new stmt if it's not already one created for this connection 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 st_command *command, ...@@ -6350,9 +6352,6 @@ void run_query_stmt(MYSQL *mysql, struct st_command *command,
Need to grab affected rows information before getting Need to grab affected rows information before getting
warnings here warnings here
*/ */
ulonglong affected_rows;
LINT_INIT(affected_rows);
if (!disable_info) if (!disable_info)
affected_rows= mysql_affected_rows(mysql); affected_rows= mysql_affected_rows(mysql);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment