summaryrefslogtreecommitdiff
path: root/sql/event_scheduler.cc
diff options
context:
space:
mode:
authorunknown <kroki/tomash@moonlight.home>2007-01-31 21:16:48 +0300
committerunknown <kroki/tomash@moonlight.home>2007-01-31 21:16:48 +0300
commit6560c2aa040453084fbc841de1a842580767f30e (patch)
tree9006bd39b52fb50dc331dbb0e3085378893f7022 /sql/event_scheduler.cc
parent59d9b52fc61883d4ace0d258c7dba4f2c856c832 (diff)
downloadmariadb-git-6560c2aa040453084fbc841de1a842580767f30e.tar.gz
Fix for memory leaks introduced with the push of patch for bug#22740.
Original patch did not have these leaks, they were introduced later during manual applying of the patch. sql/event_data_objects.cc: Original patch was not aware of the requirement to delete lex.sphead before doing anything else (bug#21856), and that was missed when the patch was applied later. sql/event_scheduler.cc: The line was lost during manual patch applying.
Diffstat (limited to 'sql/event_scheduler.cc')
-rw-r--r--sql/event_scheduler.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/event_scheduler.cc b/sql/event_scheduler.cc
index 1013f5af3a8..accf2ad03be 100644
--- a/sql/event_scheduler.cc
+++ b/sql/event_scheduler.cc
@@ -322,6 +322,8 @@ Event_worker_thread::run(THD *thd, Event_queue_element_for_exec *event)
job_data->dbname.str, job_data->name.str,
job_data->definer.str);
else if (ret == EVEX_MICROSECOND_UNSUP)
+ sql_print_information("SCHEDULER: MICROSECOND is not supported");
+
end:
delete job_data;