mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 09:36:41 -04:00
- Copy fix from the databases/mysql57-server to fix boost compliation - Remove all clang workaround as not needed anymore - Remove outdated patches and sync some patches from databases/mysql - Update version ChangeLog: https://docs.percona.com/percona-xtrabackup/2.4/release-notes.html (cherry picked from commitfcc69d2102
) (cherry picked from commitda87c36f4e
)
38 lines
1.9 KiB
C++
38 lines
1.9 KiB
C++
--- sql/sys_vars.cc.orig 2021-06-16 10:56:53 UTC
|
|
+++ sql/sys_vars.cc
|
|
@@ -1749,7 +1749,7 @@ static Sys_var_ulong Sys_interactive_timeout(
|
|
"connection before closing it",
|
|
SESSION_VAR(net_interactive_timeout),
|
|
CMD_LINE(REQUIRED_ARG),
|
|
- VALID_RANGE(1, LONG_TIMEOUT), DEFAULT(NET_WAIT_TIMEOUT), BLOCK_SIZE(1));
|
|
+ VALID_RANGE(1, INT_MAX32/1000), DEFAULT(NET_WAIT_TIMEOUT), BLOCK_SIZE(1));
|
|
|
|
static Sys_var_ulong Sys_join_buffer_size(
|
|
"join_buffer_size",
|
|
@@ -2629,7 +2629,7 @@ static Sys_var_ulong Sys_net_read_timeout(
|
|
"Number of seconds to wait for more data from a connection before "
|
|
"aborting the read",
|
|
SESSION_VAR(net_read_timeout), CMD_LINE(REQUIRED_ARG),
|
|
- VALID_RANGE(1, LONG_TIMEOUT), DEFAULT(NET_READ_TIMEOUT), BLOCK_SIZE(1),
|
|
+ VALID_RANGE(1, INT_MAX32/1000), DEFAULT(NET_READ_TIMEOUT), BLOCK_SIZE(1),
|
|
NO_MUTEX_GUARD, NOT_IN_BINLOG, ON_CHECK(0),
|
|
ON_UPDATE(fix_net_read_timeout));
|
|
|
|
@@ -2653,7 +2653,7 @@ static Sys_var_ulong Sys_net_write_timeout(
|
|
"Number of seconds to wait for a block to be written to a connection "
|
|
"before aborting the write",
|
|
SESSION_VAR(net_write_timeout), CMD_LINE(REQUIRED_ARG),
|
|
- VALID_RANGE(1, LONG_TIMEOUT), DEFAULT(NET_WRITE_TIMEOUT), BLOCK_SIZE(1),
|
|
+ VALID_RANGE(1, INT_MAX32/1000), DEFAULT(NET_WRITE_TIMEOUT), BLOCK_SIZE(1),
|
|
NO_MUTEX_GUARD, NOT_IN_BINLOG, ON_CHECK(0),
|
|
ON_UPDATE(fix_net_write_timeout));
|
|
|
|
@@ -4389,7 +4389,7 @@ static Sys_var_ulong Sys_net_wait_timeout(
|
|
"The number of seconds the server waits for activity on a "
|
|
"connection before closing it",
|
|
SESSION_VAR(net_wait_timeout), CMD_LINE(REQUIRED_ARG),
|
|
- VALID_RANGE(1, IF_WIN(INT_MAX32/1000, LONG_TIMEOUT)),
|
|
+ VALID_RANGE(1, INT_MAX32/1000),
|
|
DEFAULT(NET_WAIT_TIMEOUT), BLOCK_SIZE(1));
|
|
|
|
static Sys_var_plugin Sys_default_storage_engine(
|