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:
@@ -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();
|
||||||
|
Reference in New Issue
Block a user