diff options
author | Konstantin Osipov <kostja@sun.com> | 2009-10-13 22:29:28 +0400 |
---|---|---|
committer | Konstantin Osipov <kostja@sun.com> | 2009-10-13 22:29:28 +0400 |
commit | 9a4a845adc81b16f64d870a0e8e457bd4b6689c5 (patch) | |
tree | 40a573389e4d5eb1381ef8264dc76b4f3d0d40de /mysql-test/t/merge.test | |
parent | 99420dd913333cf7bb109e9c5d71d2daf66e3dca (diff) | |
download | mariadb-git-9a4a845adc81b16f64d870a0e8e457bd4b6689c5.tar.gz |
Backport of the following revision from 6.0-codebase:
----------------------------------------------------------
revno: 2617.1.12
committer: kostja@bodhi.(none)
timestamp: Sun 2008-04-20 11:18:52 +0400
message:
A fix for Bug#32771 "events_bugs.test fails randomly".
In Event_scheduler::stop(), which may be called from destructor,
wait synchronously for the parallel Event_scheduler::stop() to
complete before returning. This fixes a race between
MySQL shutdown thread and the scheduler thread who could call
stop() in parallel.
sql/event_scheduler.cc:
There was a race condition between the shutdown thread and
the scheduler thread: the shutdown thread could delete the scheduler
mutex before the sheduler has stopped.
Diffstat (limited to 'mysql-test/t/merge.test')
0 files changed, 0 insertions, 0 deletions