Commit 71054dee authored by sasha@mysql.sashanet.com's avatar sasha@mysql.sashanet.com
Browse files

fixed random exec times for connect stage of the slave thread

parent b9fe1f14
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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();