Skip to content

Commit 25921c9

Browse files
committed
Merge 10.6 into 10.7
2 parents b7ff385 + 41c66ef commit 25921c9

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

110110
bool wsrep_gtid_mode; // Enable WSREP native GTID support

0 commit comments

Comments
 (0)