summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorDavi Arnaut <Davi.Arnaut@Sun.COM>2009-11-21 10:11:45 -0200
committerDavi Arnaut <Davi.Arnaut@Sun.COM>2009-11-21 10:11:45 -0200
commit64f097dc8021ac810ac1fcaba3d341bb610e8204 (patch)
treef579b91624e023fda303d3e12e0a3d8af58d3c5c /client
parentc70a9fa1e3c459e030546b0ca1ac916970bb489b (diff)
downloadmariadb-git-64f097dc8021ac810ac1fcaba3d341bb610e8204.tar.gz
Post-merge fixes: fix typo and remove unused variables.
Diffstat (limited to 'client')
-rw-r--r--client/mysqltest.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/client/mysqltest.cc b/client/mysqltest.cc
index cb1d21ebe8a..e0cdec42a60 100644
--- a/client/mysqltest.cc
+++ b/client/mysqltest.cc
@@ -6827,10 +6827,8 @@ void run_query_stmt(MYSQL *mysql, struct st_command *command,
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
@@ -6966,8 +6964,7 @@ void run_query_stmt(MYSQL *mysql, struct st_command *command,
warnings here
*/
{
- ulonglong affected_rows;
- LINT_INIT(affected_rows);
+ ulonglong UNINIT_VAR(affected_rows);
if (!disable_info)
affected_rows= mysql_affected_rows(mysql);