mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge branch '10.5' into mariadb-10.5.23
This commit is contained in:
@ -8558,13 +8558,10 @@ MYSQL_BIN_LOG::trx_group_commit_leader(group_commit_entry *leader)
|
||||
|
||||
DEBUG_SYNC(leader->thd, "commit_loop_entry_commit_ordered");
|
||||
++num_commits;
|
||||
set_current_thd(current->thd);
|
||||
if (current->cache_mngr->using_xa && likely(!current->error) &&
|
||||
DBUG_EVALUATE_IF("skip_commit_ordered", 0, 1))
|
||||
{
|
||||
mysql_mutex_lock(¤t->thd->LOCK_thd_data);
|
||||
run_commit_ordered(current->thd, current->all);
|
||||
mysql_mutex_unlock(¤t->thd->LOCK_thd_data);
|
||||
}
|
||||
current->thd->wakeup_subsequent_commits(current->error);
|
||||
|
||||
/*
|
||||
@ -8581,6 +8578,7 @@ MYSQL_BIN_LOG::trx_group_commit_leader(group_commit_entry *leader)
|
||||
}
|
||||
current= next;
|
||||
}
|
||||
set_current_thd(leader->thd);
|
||||
DEBUG_SYNC(leader->thd, "commit_after_group_run_commit_ordered");
|
||||
mysql_mutex_unlock(&LOCK_commit_ordered);
|
||||
DEBUG_SYNC(leader->thd, "commit_after_group_release_commit_ordered");
|
||||
|
Reference in New Issue
Block a user