diff options
author | andrey@lmy004. <> | 2006-07-04 18:44:35 +0200 |
---|---|---|
committer | andrey@lmy004. <> | 2006-07-04 18:44:35 +0200 |
commit | 2bdd872e5f9e2c6777dcaad232b4f0a53cb023eb (patch) | |
tree | 4459403077605a188dd88b131d998654761070d2 /sql/mysqld.cc | |
parent | 6dd9a3bb60f1de2919113f970fecef4e971705eb (diff) | |
download | mariadb-git-2bdd872e5f9e2c6777dcaad232b4f0a53cb023eb.tar.gz |
WL #3337 (Event scheduler new architecture)
Cut Nr. 8.
All tests pass.
Separated Event_scheduler into Event_queue and Event_scheduler.
Added new Event_scheduler_ng which is the new scheduler and is used
system-wide. Will be moved to the event_scheduler.cc in the future.
Using Event_timed in Event_queue as well as cloned during execution.
Next step is to have Event_worker_data which will be used during execution
and will take ::compile()/::execute() out of Event_timed.
Diffstat (limited to 'sql/mysqld.cc')
-rw-r--r-- | sql/mysqld.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/mysqld.cc b/sql/mysqld.cc index a27be384ee2..e0c0243b301 100644 --- a/sql/mysqld.cc +++ b/sql/mysqld.cc @@ -864,7 +864,7 @@ static void close_connections(void) DBUG_PRINT("quit",("Informing thread %ld that it's time to die", tmp->thread_id)); /* We skip slave threads & scheduler on this first loop through. */ - if (tmp->slave_thread || tmp->system_thread == SYSTEM_THREAD_EVENT_SCHEDULER) + if (tmp->slave_thread) continue; tmp->killed= THD::KILL_CONNECTION; |