Commit 751da00d authored by unknown's avatar unknown

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
parent 2f6af717
...@@ -812,6 +812,7 @@ pthread_handler_decl(handle_slave,arg __attribute__((unused))) ...@@ -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 my_thread_init(); // needs to be up here, otherwise we get a coredump
// trying to use DBUG_ stuff // trying to use DBUG_ stuff
thd = new THD; // note that contructor of THD uses DBUG_ ! thd = new THD; // note that contructor of THD uses DBUG_ !
thd->set_time();
DBUG_ENTER("handle_slave"); DBUG_ENTER("handle_slave");
pthread_detach_this_thread(); pthread_detach_this_thread();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment