mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
MDEV-5363: Make parallel replication waits killable
Make wait_for_prior_commit killable, and handle the error if killed.
This commit is contained in:
@@ -142,7 +142,7 @@ finish_event_group(THD *thd, int err, uint64 sub_id,
|
||||
if (err)
|
||||
wfc->unregister_wait_for_prior_commit();
|
||||
else
|
||||
wfc->wait_for_prior_commit();
|
||||
err= wfc->wait_for_prior_commit(thd);
|
||||
thd->wait_for_commit_ptr= NULL;
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user