summaryrefslogtreecommitdiff
path: root/sql/event_scheduler.cc
diff options
context:
space:
mode:
authorGeorgi Kodinov <joro@sun.com>2010-02-02 14:17:21 +0200
committerGeorgi Kodinov <joro@sun.com>2010-02-02 14:17:21 +0200
commit1dafac6f35b23757cafe0ac1ef9f6b4edb28947d (patch)
tree2c236fc56603283a9faec205f8925c6e1568cb12 /sql/event_scheduler.cc
parent9b75c2f268f0e40fe74f38759c8f8551b2637145 (diff)
downloadmariadb-git-1dafac6f35b23757cafe0ac1ef9f6b4edb28947d.tar.gz
fixed various pb2 test failures on windows.
Diffstat (limited to 'sql/event_scheduler.cc')
-rwxr-xr-x[-rw-r--r--]sql/event_scheduler.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/event_scheduler.cc b/sql/event_scheduler.cc
index 8c0025f9ed4..706afb3e0ad 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;
}