1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-05 13:16:09 +03:00

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
This commit is contained in:
unknown
2000-09-12 17:46:37 -06:00
parent 2f6af71721
commit 751da00d0e

View File

@@ -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();