1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

MDEV-7780 - Support for faking server version

Added --version=str (optional argument sets server version string).
This commit is contained in:
Sergey Vojtovich
2015-11-24 19:55:52 +04:00
parent cc8e863390
commit 9d5c9379a6
7 changed files with 28 additions and 7 deletions

View File

@ -534,6 +534,7 @@ extern uint mysql_real_data_home_len;
extern const char *mysql_real_data_home_ptr;
extern ulong thread_handling;
extern "C" MYSQL_PLUGIN_IMPORT char server_version[SERVER_VERSION_LENGTH];
extern char *server_version_ptr;
extern MYSQL_PLUGIN_IMPORT char mysql_real_data_home[];
extern char mysql_unpacked_real_data_home[];
extern MYSQL_PLUGIN_IMPORT struct system_variables global_system_variables;