mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Merge 10.11 into 11.0
This commit is contained in:
@@ -12129,6 +12129,15 @@ IO_CACHE *wsrep_get_cache(THD * thd, bool is_transactional)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
bool wsrep_is_binlog_cache_empty(THD *thd)
|
||||
{
|
||||
binlog_cache_mngr *cache_mngr=
|
||||
(binlog_cache_mngr *) thd_get_ha_data(thd, binlog_hton);
|
||||
if (cache_mngr)
|
||||
return cache_mngr->trx_cache.empty() && cache_mngr->stmt_cache.empty();
|
||||
return true;
|
||||
}
|
||||
|
||||
void wsrep_thd_binlog_trx_reset(THD * thd)
|
||||
{
|
||||
DBUG_ENTER("wsrep_thd_binlog_trx_reset");
|
||||
|
Reference in New Issue
Block a user