Skip to content

Commit 41c66ef

Browse files
committed
Merge 10.5 into 10.6
2 parents c073c9a + 4eb7217 commit 41c66ef

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

libmariadb

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
@@ -108,7 +108,7 @@ long wsrep_slave_threads; // No. of slave appliers threads
108108
ulong wsrep_retry_autocommit; // Retry aborted autocommit trx
109109
ulong wsrep_max_ws_size; // Max allowed ws (RBR buffer) size
110110
ulong wsrep_max_ws_rows; // Max number of rows in ws
111-
ulong wsrep_forced_binlog_format;
111+
ulong wsrep_forced_binlog_format= BINLOG_FORMAT_UNSPEC;
112112
ulong wsrep_mysql_replication_bundle;
113113

114114
bool wsrep_gtid_mode; // Enable WSREP native GTID support

0 commit comments

Comments
 (0)