Skip to content

Commit 4eb7217

Browse files
committed
Merge 10.4 into 10.5
2 parents 48f1b69 + a75813d commit 4eb7217

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sql/sql_insert.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ void upgrade_lock_type(THD *thd, thr_lock_type *lock_type,
475475
}
476476

477477
bool log_on= (thd->variables.option_bits & OPTION_BIN_LOG);
478-
if (thd->wsrep_binlog_format() == BINLOG_FORMAT_STMT &&
478+
if (WSREP_BINLOG_FORMAT(global_system_variables.binlog_format) == BINLOG_FORMAT_STMT &&
479479
log_on && mysql_bin_log.is_open())
480480
{
481481
/*

sql/wsrep_mysqld.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ long wsrep_slave_threads; // No. of slave appliers threads
106106
ulong wsrep_retry_autocommit; // Retry aborted autocommit trx
107107
ulong wsrep_max_ws_size; // Max allowed ws (RBR buffer) size
108108
ulong wsrep_max_ws_rows; // Max number of rows in ws
109-
ulong wsrep_forced_binlog_format;
109+
ulong wsrep_forced_binlog_format= BINLOG_FORMAT_UNSPEC;
110110
ulong wsrep_mysql_replication_bundle;
111111

112112
bool wsrep_gtid_mode; // Enable WSREP native GTID support

0 commit comments

Comments
 (0)