mirror of
https://github.com/MariaDB/server.git
synced 2025-08-05 13:16:09 +03:00
Bug#50296 Slave reconnects earlier than the prescribed slave_net_timeout value
Fixed failed assert on 64 bit platforms, introduced by the previous fix. mysqld: sys_vars.h:125: Assertion `size == sizeof(T)' failed.
This commit is contained in:
@@ -2795,7 +2795,7 @@ static bool fix_slave_net_timeout(sys_var *self, THD *thd, enum_var_type type)
|
|||||||
mysql_mutex_unlock(&LOCK_active_mi);
|
mysql_mutex_unlock(&LOCK_active_mi);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
static Sys_var_ulong Sys_slave_net_timeout(
|
static Sys_var_uint Sys_slave_net_timeout(
|
||||||
"slave_net_timeout", "Number of seconds to wait for more data "
|
"slave_net_timeout", "Number of seconds to wait for more data "
|
||||||
"from a master/slave connection before aborting the read",
|
"from a master/slave connection before aborting the read",
|
||||||
GLOBAL_VAR(slave_net_timeout), CMD_LINE(REQUIRED_ARG),
|
GLOBAL_VAR(slave_net_timeout), CMD_LINE(REQUIRED_ARG),
|
||||||
|
Reference in New Issue
Block a user