Lines 1-6
Link Here
|
1 |
--- sql/sys_vars.cc.orig 2018-04-08 06:44:49 UTC |
1 |
--- sql/sys_vars.cc.orig 2019-06-25 10:23:30 UTC |
2 |
+++ sql/sys_vars.cc |
2 |
+++ sql/sys_vars.cc |
3 |
@@ -1792,7 +1792,7 @@ static Sys_var_ulong Sys_interactive_tim |
3 |
@@ -2068,7 +2068,7 @@ static Sys_var_ulong Sys_interactive_timeout( |
4 |
"The number of seconds the server waits for activity on an interactive " |
4 |
"The number of seconds the server waits for activity on an interactive " |
5 |
"connection before closing it", |
5 |
"connection before closing it", |
6 |
SESSION_VAR(net_interactive_timeout), CMD_LINE(REQUIRED_ARG), |
6 |
SESSION_VAR(net_interactive_timeout), CMD_LINE(REQUIRED_ARG), |
Lines 9-15
Link Here
|
9 |
|
9 |
|
10 |
static Sys_var_ulong Sys_join_buffer_size( |
10 |
static Sys_var_ulong Sys_join_buffer_size( |
11 |
"join_buffer_size", "The size of the buffer that is used for full joins", |
11 |
"join_buffer_size", "The size of the buffer that is used for full joins", |
12 |
@@ -2594,7 +2594,7 @@ static Sys_var_ulong Sys_net_read_timeou |
12 |
@@ -2852,7 +2852,7 @@ static Sys_var_ulong Sys_net_read_timeout( |
13 |
"Number of seconds to wait for more data from a connection before " |
13 |
"Number of seconds to wait for more data from a connection before " |
14 |
"aborting the read", |
14 |
"aborting the read", |
15 |
SESSION_VAR(net_read_timeout), CMD_LINE(REQUIRED_ARG), |
15 |
SESSION_VAR(net_read_timeout), CMD_LINE(REQUIRED_ARG), |
Lines 18-24
Link Here
|
18 |
NO_MUTEX_GUARD, NOT_IN_BINLOG, ON_CHECK(0), |
18 |
NO_MUTEX_GUARD, NOT_IN_BINLOG, ON_CHECK(0), |
19 |
ON_UPDATE(fix_net_read_timeout)); |
19 |
ON_UPDATE(fix_net_read_timeout)); |
20 |
|
20 |
|
21 |
@@ -2615,7 +2615,7 @@ static Sys_var_ulong Sys_net_write_timeo |
21 |
@@ -2873,7 +2873,7 @@ static Sys_var_ulong Sys_net_write_timeout( |
22 |
"Number of seconds to wait for a block to be written to a connection " |
22 |
"Number of seconds to wait for a block to be written to a connection " |
23 |
"before aborting the write", |
23 |
"before aborting the write", |
24 |
SESSION_VAR(net_write_timeout), CMD_LINE(REQUIRED_ARG), |
24 |
SESSION_VAR(net_write_timeout), CMD_LINE(REQUIRED_ARG), |
Lines 27-35
Link Here
|
27 |
NO_MUTEX_GUARD, NOT_IN_BINLOG, ON_CHECK(0), |
27 |
NO_MUTEX_GUARD, NOT_IN_BINLOG, ON_CHECK(0), |
28 |
ON_UPDATE(fix_net_write_timeout)); |
28 |
ON_UPDATE(fix_net_write_timeout)); |
29 |
|
29 |
|
30 |
@@ -4098,7 +4098,7 @@ static Sys_var_charptr Sys_tls_version( |
30 |
@@ -4377,7 +4377,7 @@ static Sys_var_ulong Sys_max_execution_time( |
31 |
READ_ONLY GLOBAL_VAR(opt_tls_version), SSL_OPT(OPT_TLS_VERSION), |
31 |
HINT_UPDATEABLE SESSION_VAR(max_execution_time), CMD_LINE(REQUIRED_ARG), |
32 |
IN_FS_CHARSET, "TLSv1,TLSv1.1,TLSv1.2"); |
32 |
VALID_RANGE(0, ULONG_MAX), DEFAULT(0), BLOCK_SIZE(1)); |
33 |
|
33 |
|
34 |
-#ifndef HAVE_WOLFSSL |
34 |
-#ifndef HAVE_WOLFSSL |
35 |
+#if !defined(HAVE_WOLFSSL) && !defined(LIBRESSL_VERSION_NUMBER) |
35 |
+#if !defined(HAVE_WOLFSSL) && !defined(LIBRESSL_VERSION_NUMBER) |
Lines 36-42
Link Here
|
36 |
static bool update_fips_mode(sys_var *, THD *, enum_var_type) { |
36 |
static bool update_fips_mode(sys_var *, THD *, enum_var_type) { |
37 |
char ssl_err_string[OPENSSL_ERROR_LENGTH] = {'\0'}; |
37 |
char ssl_err_string[OPENSSL_ERROR_LENGTH] = {'\0'}; |
38 |
if (set_fips_mode(opt_ssl_fips_mode, ssl_err_string) != 1) { |
38 |
if (set_fips_mode(opt_ssl_fips_mode, ssl_err_string) != 1) { |
39 |
@@ -4110,7 +4110,7 @@ static bool update_fips_mode(sys_var *, |
39 |
@@ -4390,7 +4390,7 @@ static bool update_fips_mode(sys_var *, THD *, enum_va |
40 |
} |
40 |
} |
41 |
#endif |
41 |
#endif |
42 |
|
42 |
|
Lines 45-52
Link Here
|
45 |
static const char *ssl_fips_mode_names[] = {"OFF", 0}; |
45 |
static const char *ssl_fips_mode_names[] = {"OFF", 0}; |
46 |
#else |
46 |
#else |
47 |
static const char *ssl_fips_mode_names[] = {"OFF", "ON", "STRICT", 0}; |
47 |
static const char *ssl_fips_mode_names[] = {"OFF", "ON", "STRICT", 0}; |
48 |
@@ -4121,7 +4121,7 @@ static Sys_var_enum Sys_ssl_fips_mode( |
48 |
@@ -4406,7 +4406,7 @@ static Sys_var_enum Sys_ssl_fips_mode( |
49 |
GLOBAL_VAR(opt_ssl_fips_mode), SSL_OPT(OPT_SSL_FIPS_MODE), |
49 |
GLOBAL_VAR(opt_ssl_fips_mode), CMD_LINE(REQUIRED_ARG, OPT_SSL_FIPS_MODE), |
50 |
ssl_fips_mode_names, DEFAULT(0), NO_MUTEX_GUARD, NOT_IN_BINLOG, |
50 |
ssl_fips_mode_names, DEFAULT(0), NO_MUTEX_GUARD, NOT_IN_BINLOG, |
51 |
ON_CHECK(NULL), |
51 |
ON_CHECK(NULL), |
52 |
-#ifndef HAVE_WOLFSSL |
52 |
-#ifndef HAVE_WOLFSSL |
Lines 54-60
Link Here
|
54 |
ON_UPDATE(update_fips_mode), |
54 |
ON_UPDATE(update_fips_mode), |
55 |
#else |
55 |
#else |
56 |
ON_UPDATE(NULL), |
56 |
ON_UPDATE(NULL), |
57 |
@@ -4429,7 +4429,7 @@ static Sys_var_ulong Sys_net_wait_timeou |
57 |
@@ -4703,7 +4703,7 @@ static Sys_var_ulong Sys_net_wait_timeout( |
58 |
"The number of seconds the server waits for activity on a " |
58 |
"The number of seconds the server waits for activity on a " |
59 |
"connection before closing it", |
59 |
"connection before closing it", |
60 |
SESSION_VAR(net_wait_timeout), CMD_LINE(REQUIRED_ARG), |
60 |
SESSION_VAR(net_wait_timeout), CMD_LINE(REQUIRED_ARG), |