diff options
author | unknown <kostja@vajra.(none)> | 2007-04-06 19:44:14 +0400 |
---|---|---|
committer | unknown <kostja@vajra.(none)> | 2007-04-06 19:44:14 +0400 |
commit | c557623a68b2c09ec7fd319b6a58d624dd2c2413 (patch) | |
tree | 562c4b97885c7356e30426e3c31055d9fb47d237 /mysql-test/t/events_scheduling.test | |
parent | 306be7fee9e41b02e54941099e25fba630a13580 (diff) | |
download | mariadb-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 'mysql-test/t/events_scheduling.test')
-rw-r--r-- | mysql-test/t/events_scheduling.test | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/mysql-test/t/events_scheduling.test b/mysql-test/t/events_scheduling.test index 5b839e25910..31c09a3d561 100644 --- a/mysql-test/t/events_scheduling.test +++ b/mysql-test/t/events_scheduling.test @@ -1,6 +1,5 @@ # Can't test with embedded server that doesn't support grants -- source include/not_embedded.inc --- source include/not_valgrind.inc CREATE DATABASE IF NOT EXISTS events_test; USE events_test; |