mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 20:12:31 +01:00
MDEV-21308 : WSREP: binlog ... cache not empty warnings on server with WSREP disabled
Remove output if wsrep is not enabled.
This commit is contained in:
parent
f99d141cd2
commit
2b6f235ae0
1 changed files with 1 additions and 1 deletions
|
@ -1650,7 +1650,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= get_trans_log(thd);
|
||||
uchar *buf;
|
||||
size_t len=0;
|
||||
|
|
Loading…
Reference in a new issue