From 68aa3edd1dbedb99efff6ccba6bcb0ddbb6d8fac Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Mon, 5 Mar 2012 21:55:25 +0100 Subject: [PATCH] compilation warning: unused variable --- sql/sql_binlog.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sql/sql_binlog.cc b/sql/sql_binlog.cc index 0ac92859365..a4664da2bf6 100644 --- a/sql/sql_binlog.cc +++ b/sql/sql_binlog.cc @@ -44,7 +44,6 @@ void mysql_client_binlog_statement(THD* thd) { - ulonglong save_skip_replication; DBUG_ENTER("mysql_client_binlog_statement"); DBUG_PRINT("info",("binlog base64: '%*s'", (int) (thd->lex->comment.length < 2048 ? @@ -226,7 +225,8 @@ void mysql_client_binlog_statement(THD* thd) reporting. */ #if !defined(MYSQL_CLIENT) && defined(HAVE_REPLICATION) - save_skip_replication= thd->variables.option_bits&OPTION_SKIP_REPLICATION; + ulonglong save_skip_replication= + thd->variables.option_bits & OPTION_SKIP_REPLICATION; thd->variables.option_bits= (thd->variables.option_bits & ~OPTION_SKIP_REPLICATION) | (ev->flags & LOG_EVENT_SKIP_REPLICATION_F ?