diff options
author | Vicențiu Ciorbaru <vicentiu@mariadb.org> | 2018-03-22 21:01:20 +0200 |
---|---|---|
committer | Vicențiu Ciorbaru <vicentiu@mariadb.org> | 2018-03-22 21:01:20 +0200 |
commit | 1123f87b5c463611ff325b97c428290d6685267c (patch) | |
tree | e04d227a9af6c7cdcacd2eab358bd109a1d5e0c4 /sql | |
parent | fc05777eac8defc15fd3cfa8ae55c7d2f2b8671a (diff) | |
download | mariadb-git-1123f87b5c463611ff325b97c428290d6685267c.tar.gz |
Fix unused variable thd warning in embedded
The warning came up post merge and is visible when compiling without
WSREP.
Diffstat (limited to 'sql')
-rw-r--r-- | sql/handler.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/handler.cc b/sql/handler.cc index a27778b8115..8093c17135b 100644 --- a/sql/handler.cc +++ b/sql/handler.cc @@ -5822,9 +5822,9 @@ static inline int binlog_log_row(TABLE* table, const uchar *after_record, Log_func *log_func) { +#ifdef WITH_WSREP THD *const thd= table->in_use; -#ifdef WITH_WSREP /* only InnoDB tables will be replicated through binlog emulation */ if ((WSREP_EMULATE_BINLOG(thd) && table->file->partition_ht()->db_type != DB_TYPE_INNODB) || |