summaryrefslogtreecommitdiff
path: root/sql/slave.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/slave.cc')
-rw-r--r--sql/slave.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/slave.cc b/sql/slave.cc
index 13b9acf1e78..3206aab40f2 100644
--- a/sql/slave.cc
+++ b/sql/slave.cc
@@ -812,6 +812,7 @@ pthread_handler_decl(handle_slave,arg __attribute__((unused)))
my_thread_init(); // needs to be up here, otherwise we get a coredump
// trying to use DBUG_ stuff
thd = new THD; // note that contructor of THD uses DBUG_ !
+ thd->set_time();
DBUG_ENTER("handle_slave");
pthread_detach_this_thread();