mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 11:45:32 +00:00
MDEV-15532 after-merge fixes from Monty
The Galera tests were massively failing with debug assertions.
This commit is contained in:
@ -274,7 +274,7 @@ int Wsrep_high_priority_service::append_fragment_and_commit(
|
||||
ret= ret || trans_commit(m_thd);
|
||||
|
||||
m_thd->wsrep_cs().after_applying();
|
||||
m_thd->mdl_context.release_transactional_locks();
|
||||
m_thd->release_transactional_locks();
|
||||
|
||||
free_root(m_thd->mem_root, MYF(MY_KEEP_PREALLOC));
|
||||
|
||||
@ -316,7 +316,7 @@ int Wsrep_high_priority_service::commit(const wsrep::ws_handle& ws_handle,
|
||||
m_rgi->cleanup_context(thd, 0);
|
||||
}
|
||||
|
||||
m_thd->mdl_context.release_transactional_locks();
|
||||
m_thd->release_transactional_locks();
|
||||
|
||||
thd_proc_info(thd, "wsrep applier committed");
|
||||
|
||||
@ -354,7 +354,7 @@ int Wsrep_high_priority_service::rollback(const wsrep::ws_handle& ws_handle,
|
||||
DBUG_ENTER("Wsrep_high_priority_service::rollback");
|
||||
m_thd->wsrep_cs().prepare_for_ordering(ws_handle, ws_meta, false);
|
||||
int ret= (trans_rollback_stmt(m_thd) || trans_rollback(m_thd));
|
||||
m_thd->mdl_context.release_transactional_locks();
|
||||
m_thd->release_transactional_locks();
|
||||
m_thd->mdl_context.release_explicit_locks();
|
||||
|
||||
free_root(m_thd->mem_root, MYF(MY_KEEP_PREALLOC));
|
||||
|
Reference in New Issue
Block a user