Skip to content

Commit

Permalink
Fix unused variable thd warning in embedded
Browse files Browse the repository at this point in the history
The warning came up post merge and is visible when compiling without
WSREP.
  • Loading branch information
cvicentiu committed Mar 22, 2018
1 parent fc05777 commit 1123f87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sql/handler.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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) ||
Expand Down

0 comments on commit 1123f87

Please sign in to comment.