mirror of
https://github.com/MariaDB/server.git
synced 2026-05-07 07:35:32 +02:00
Merge branch '10.4' into 10.5
This commit is contained in:
commit
98a39b0c91
511 changed files with 26201 additions and 3821 deletions
|
|
@ -486,6 +486,7 @@ void wsrep_backup_kill_for_commit(THD *thd)
|
|||
thd->wsrep_trx().state() != wsrep::transaction::s_must_replay)
|
||||
{
|
||||
thd->wsrep_abort_by_kill= thd->killed;
|
||||
my_free(thd->wsrep_abort_by_kill_err);
|
||||
thd->wsrep_abort_by_kill_err= thd->killed_err;
|
||||
thd->killed= NOT_KILLED;
|
||||
thd->killed_err= 0;
|
||||
|
|
@ -498,6 +499,7 @@ void wsrep_restore_kill_after_commit(THD *thd)
|
|||
DBUG_ASSERT(WSREP(thd));
|
||||
mysql_mutex_assert_owner(&thd->LOCK_thd_kill);
|
||||
thd->killed= thd->wsrep_abort_by_kill;
|
||||
my_free(thd->killed_err);
|
||||
thd->killed_err= thd->wsrep_abort_by_kill_err;
|
||||
thd->wsrep_abort_by_kill= NOT_KILLED;
|
||||
thd->wsrep_abort_by_kill_err= 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue