mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
Fixing slave timeouting
This commit is contained in:
@@ -46928,6 +46928,8 @@ not yet 100% confident in this code.
|
||||
@appendixsubsec Changes in release 3.23.52
|
||||
@itemize @bullet
|
||||
@item
|
||||
Fixed bug with slave net read timeouting
|
||||
@item
|
||||
Fixed bug in ALTERing TABLE of BDB type.
|
||||
@item
|
||||
Fixed bug when logging @code{LOAD DATA INFILE} to binary log with no
|
||||
|
||||
@@ -456,7 +456,7 @@ int fetch_nx_table(THD* thd, MASTER_INFO* mi)
|
||||
nx_errno = ER_BAD_HOST_ERROR;
|
||||
goto err;
|
||||
}
|
||||
|
||||
mysql->net.timeout=slave_net_timeout;
|
||||
safe_connect(thd, mysql, mi);
|
||||
if (slave_killed(thd))
|
||||
goto err;
|
||||
@@ -1297,6 +1297,7 @@ pthread_handler_decl(handle_slave,arg __attribute__((unused)))
|
||||
goto err;
|
||||
}
|
||||
|
||||
mysql->net = thd->net;
|
||||
thd->proc_info = "connecting to master";
|
||||
#ifndef DBUG_OFF
|
||||
sql_print_error("Slave thread initialized");
|
||||
|
||||
Reference in New Issue
Block a user