Skip to content

Commit 1123f87

Browse files
committed
Fix unused variable thd warning in embedded
The warning came up post merge and is visible when compiling without WSREP.
1 parent fc05777 commit 1123f87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/handler.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5822,9 +5822,9 @@ static inline int binlog_log_row(TABLE* table,
58225822
const uchar *after_record,
58235823
Log_func *log_func)
58245824
{
5825+
#ifdef WITH_WSREP
58255826
THD *const thd= table->in_use;
58265827

5827-
#ifdef WITH_WSREP
58285828
/* only InnoDB tables will be replicated through binlog emulation */
58295829
if ((WSREP_EMULATE_BINLOG(thd) &&
58305830
table->file->partition_ht()->db_type != DB_TYPE_INNODB) ||

0 commit comments

Comments
 (0)