diff options
author | unknown <andrey@example.com> | 2006-09-01 14:25:29 +0200 |
---|---|---|
committer | unknown <andrey@example.com> | 2006-09-01 14:25:29 +0200 |
commit | e22b6703f8061d572beb00ad0b5f0be1bb4f37cc (patch) | |
tree | c40e37fc3cea16d1f517506f759e07bab1983821 /sql/event_queue.cc | |
parent | 2fc8b30ee783fe46f49adf11b6fbbbaa0acea474 (diff) | |
download | mariadb-git-e22b6703f8061d572beb00ad0b5f0be1bb4f37cc.tar.gz |
remove unused artifacts
sql/event_db_repository.cc:
remove unused variables - reported by MS compiler
sql/event_queue.cc:
remove unused variables - reported by MS compiler
sql/event_scheduler.cc:
remove unused label
sql/events.cc:
remove unused variable and a label - reported by MS compiler
Diffstat (limited to 'sql/event_queue.cc')
-rw-r--r-- | sql/event_queue.cc | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sql/event_queue.cc b/sql/event_queue.cc index 5316bae8f4a..f0b0777b6cf 100644 --- a/sql/event_queue.cc +++ b/sql/event_queue.cc @@ -137,7 +137,6 @@ Event_queue::deinit_mutexes() bool Event_queue::init_queue(THD *thd, Event_db_repository *db_repo) { - pthread_t th; bool res; struct event_queue_param *event_queue_param_value= NULL; @@ -320,9 +319,8 @@ end: void Event_queue::drop_event(THD *thd, LEX_STRING dbname, LEX_STRING name) { - int res; DBUG_ENTER("Event_queue::drop_event"); - DBUG_PRINT("enter", ("thd=0x%lx name=0x%lx", thd, name)); + DBUG_PRINT("enter", ("thd=0x%lx db=%s name=%s", thd, dbname, name)); LOCK_QUEUE_DATA(); find_n_remove_event(dbname, name); @@ -482,8 +480,6 @@ Event_queue::load_events_from_db(THD *thd) int ret= -1; uint count= 0; bool clean_the_queue= TRUE; - /* Compile the events on this root but only for syntax check, then discard */ - MEM_ROOT boot_root; DBUG_ENTER("Event_queue::load_events_from_db"); DBUG_PRINT("enter", ("thd=0x%lx", thd)); |