diff options
Diffstat (limited to 'sql/event_scheduler.cc')
-rwxr-xr-x[-rw-r--r--] | sql/event_scheduler.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/event_scheduler.cc b/sql/event_scheduler.cc index 06b7bd3fc6a..8446fe75c8f 100644..100755 --- a/sql/event_scheduler.cc +++ b/sql/event_scheduler.cc @@ -235,8 +235,9 @@ event_scheduler_thread(void *arg) if (!res) scheduler->run(thd); + DBUG_LEAVE; // Against gcc warnings my_thread_end(); - DBUG_RETURN(0); // Against gcc warnings + return 0; } |