mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +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);
|
||||
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 "
|
||||
"from a master/slave connection before aborting the read",
|
||||
GLOBAL_VAR(slave_net_timeout), CMD_LINE(REQUIRED_ARG),
|
||||
|
Reference in New Issue
Block a user