We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 04c8483 + f472acc commit 0891453Copy full SHA for 0891453
sql/event_scheduler.cc
@@ -1,4 +1,4 @@
1
-/* Copyright (c) 2006, 2017, Oracle and/or its affiliates. All rights reserved.
+/* Copyright (c) 2006, 2019, Oracle and/or its affiliates. All rights reserved.
2
3
This program is free software; you can redistribute it and/or modify
4
it under the terms of the GNU General Public License, version 2.0,
@@ -544,6 +544,7 @@ Event_scheduler::run(THD *thd)
544
DBUG_PRINT("info", ("job_data is NULL, the thread was killed"));
545
}
546
DBUG_PRINT("info", ("state=%s", scheduler_states_names[state].str));
547
+ free_root(thd->mem_root, MYF(0));
548
549
550
LOCK_DATA();
0 commit comments