diff options
author | Sergei Golubchik <sergii@pisem.net> | 2012-03-05 21:55:25 +0100 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2012-03-05 21:55:25 +0100 |
commit | 68aa3edd1dbedb99efff6ccba6bcb0ddbb6d8fac (patch) | |
tree | ccb3136b00bd39299d722130c84f6dd7837bd1ba /sql/sql_binlog.cc | |
parent | 1c530b36d1c3a84c8022230e478da62021e6faa9 (diff) | |
download | mariadb-git-68aa3edd1dbedb99efff6ccba6bcb0ddbb6d8fac.tar.gz |
compilation warning: unused variable
Diffstat (limited to 'sql/sql_binlog.cc')
-rw-r--r-- | sql/sql_binlog.cc | 4 |
1 files 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 ? |