mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
Merge 10.5 into 10.6
This commit is contained in:
@@ -12033,12 +12033,9 @@ void wsrep_register_binlog_handler(THD *thd, bool trx)
|
||||
/*
|
||||
Set an implicit savepoint in order to be able to truncate a trx-cache.
|
||||
*/
|
||||
if (cache_mngr->trx_cache.get_prev_position() == MY_OFF_T_UNDEF)
|
||||
{
|
||||
my_off_t pos= 0;
|
||||
binlog_trans_log_savepos(thd, &pos);
|
||||
cache_mngr->trx_cache.set_prev_position(pos);
|
||||
}
|
||||
my_off_t pos= 0;
|
||||
binlog_trans_log_savepos(thd, &pos);
|
||||
cache_mngr->trx_cache.set_prev_position(pos);
|
||||
|
||||
/*
|
||||
Set callbacks in order to be able to call commmit or rollback.
|
||||
|
Reference in New Issue
Block a user