diff options
author | unknown <andrey@example.com> | 2006-09-01 14:08:50 +0200 |
---|---|---|
committer | unknown <andrey@example.com> | 2006-09-01 14:08:50 +0200 |
commit | 7f61476e0e841c2513b0feddc8671ed115bcc51f (patch) | |
tree | e361d3fd32f273dc7ffabe0695719532c6b9e4de /sql/events.cc | |
parent | 889761abda3e48ac5bc2c2584af7a26175663674 (diff) | |
download | mariadb-git-7f61476e0e841c2513b0feddc8671ed115bcc51f.tar.gz |
post-merge fix
sql/event_scheduler.cc:
fix typo
sql/events.cc:
This check is not needed since UNINITIALIZED state was introduced
in the Event_scheduler
Diffstat (limited to 'sql/events.cc')
-rw-r--r-- | sql/events.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sql/events.cc b/sql/events.cc index f43ef751726..c3994dcd396 100644 --- a/sql/events.cc +++ b/sql/events.cc @@ -691,11 +691,9 @@ void Events::deinit() { DBUG_ENTER("Events::deinit"); - if (likely(!check_system_tables_error) && - scheduler->get_state() > Event_scheduler::UNINITIALIZED) + if (likely(!check_system_tables_error)) { scheduler->stop(); - DBUG_ASSERT(scheduler->get_state() == Event_scheduler::INITIALIZED); scheduler->deinit_scheduler(); event_queue->deinit_queue(); |