summaryrefslogtreecommitdiff
path: root/sql/sql_client.cc
diff options
context:
space:
mode:
authorunknown <kostja@vajra.(none)>2007-04-06 19:44:14 +0400
committerunknown <kostja@vajra.(none)>2007-04-06 19:44:14 +0400
commitc557623a68b2c09ec7fd319b6a58d624dd2c2413 (patch)
tree562c4b97885c7356e30426e3c31055d9fb47d237 /sql/sql_client.cc
parent306be7fee9e41b02e54941099e25fba630a13580 (diff)
downloadmariadb-git-c557623a68b2c09ec7fd319b6a58d624dd2c2413.tar.gz
Remove a race between Event Scheduler shutdown and SHOW PROCESSLIST.
This will hopefully fix events.test failure on vmware-win32, where scheduling is very primitive. mysql-test/t/events_scheduling.test: This test case has no races now and can be enabled under valgrind. sql/event_scheduler.cc: Make Event Scheduler thread shutdown more synchronous: report successful shutdown only after having removed the scheduler thread from the global list of threads. This ensures that after the scheduler has been stopped, its thread is not present in SHOW PROCESSLIST output.
Diffstat (limited to 'sql/sql_client.cc')
0 files changed, 0 insertions, 0 deletions