Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDEV-18289 - Fix a race between thd_destructor_proxy() startup and
server shutdown. Prior to adding current thd to the global thd list, initialize thd->mysys_var->current_cond / thd->mysys_var->current_mutex. Otherwise thd_destructor_proxy can miss the abort condition, which is set by the shutdown thread.
- Loading branch information