From 41e927e950695c04ddefb8e3fe205d5bea1fbafb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20van=20Eeden?= Date: Tue, 5 Dec 2017 19:21:33 +0100 Subject: [PATCH] zlib version --- sql/sys_vars.cc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sql/sys_vars.cc b/sql/sys_vars.cc index 031b8cc6c9a..ae6fc705103 100644 --- a/sql/sys_vars.cc +++ b/sql/sys_vars.cc @@ -123,6 +123,7 @@ #include "sql/xa.h" #include "template_utils.h" // pointer_cast #include "thr_lock.h" +#include "zlib.h" #ifdef WITH_PERFSCHEMA_STORAGE_ENGINE #include "../storage/perfschema/pfs_server.h" @@ -4830,6 +4831,12 @@ static Sys_var_charptr Sys_version_compile_os( READ_ONLY NON_PERSIST GLOBAL_VAR(server_version_compile_os_ptr), NO_CMD_LINE, IN_SYSTEM_CHARSET, DEFAULT(SYSTEM_TYPE)); +static char *server_version_compile_zlib_ptr; +static Sys_var_charptr Sys_version_compile_zlib( + "version_compile_zlib", "version_compile_zlib", + READ_ONLY NON_PERSIST GLOBAL_VAR(server_version_compile_zlib_ptr), NO_CMD_LINE, + IN_SYSTEM_CHARSET, DEFAULT(ZLIB_VERSION)); + static Sys_var_ulong Sys_net_wait_timeout( "wait_timeout", "The number of seconds the server waits for activity on a "