summaryrefslogtreecommitdiff
path: root/sql/slave.cc
diff options
context:
space:
mode:
authorunknown <sasha@mysql.sashanet.com>2000-09-12 17:46:37 -0600
committerunknown <sasha@mysql.sashanet.com>2000-09-12 17:46:37 -0600
commit751da00d0ea8759b80b5a7eb3daeb7e972714af6 (patch)
treec96f7b3922ded2122533140c406bb977e35fadf5 /sql/slave.cc
parent2f6af71721a990b807ab07805a188b1f03b6d213 (diff)
downloadmariadb-git-751da00d0ea8759b80b5a7eb3daeb7e972714af6.tar.gz
fixed random exec times for connect stage of the slave thread
sql/slave.cc: fixed random exec times for connect stage of the slave thread
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();