mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
Merge branch '10.7' into 10.8
This commit is contained in:
@@ -1824,7 +1824,7 @@ static int binlog_close_connection(handlerton *hton, THD *thd)
|
||||
binlog_cache_mngr *const cache_mngr=
|
||||
(binlog_cache_mngr*) thd_get_ha_data(thd, binlog_hton);
|
||||
#ifdef WITH_WSREP
|
||||
if (cache_mngr && !cache_mngr->trx_cache.empty()) {
|
||||
if (WSREP(thd) && cache_mngr && !cache_mngr->trx_cache.empty()) {
|
||||
IO_CACHE* cache= cache_mngr->get_binlog_cache_log(true);
|
||||
uchar *buf;
|
||||
size_t len=0;
|
||||
@@ -3834,6 +3834,7 @@ bool MYSQL_BIN_LOG::open(const char *log_name,
|
||||
opt_slave_sql_verify_checksum ? (enum_binlog_checksum_alg) binlog_checksum_options
|
||||
: BINLOG_CHECKSUM_ALG_OFF;
|
||||
s.checksum_alg= relay_log_checksum_alg;
|
||||
s.set_relay_log_event();
|
||||
}
|
||||
else
|
||||
s.checksum_alg= (enum_binlog_checksum_alg)binlog_checksum_options;
|
||||
|
Reference in New Issue
Block a user