diff options
author | Alexander Barkov <bar@mariadb.org> | 2017-09-23 09:37:18 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.org> | 2017-09-23 09:37:18 +0400 |
commit | 41da3ca9cc4ccebd2a8b8e387a8c7eb139105796 (patch) | |
tree | 33167929257604a758636499cb49e91ee4e7031a /sql/sys_vars.cc | |
parent | 4e1e5a32668bc717e0049961e789dd29883cc66c (diff) | |
parent | b652430f0094e2baa475b6ea3a3d87da24202f76 (diff) | |
download | mariadb-git-41da3ca9cc4ccebd2a8b8e387a8c7eb139105796.tar.gz |
Merge remote-tracking branch 'origin/bb-10.2-ext' into 10.3
Diffstat (limited to 'sql/sys_vars.cc')
-rw-r--r-- | sql/sys_vars.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sql/sys_vars.cc b/sql/sys_vars.cc index 1f94f970e45..bb5a65afd09 100644 --- a/sql/sys_vars.cc +++ b/sql/sys_vars.cc @@ -3552,6 +3552,14 @@ static Sys_var_charptr Sys_version_compile_os( CMD_LINE_HELP_ONLY, IN_SYSTEM_CHARSET, DEFAULT(SYSTEM_TYPE)); +#include <source_revision.h> +static char *server_version_source_revision; +static Sys_var_charptr Sys_version_source_revision( + "version_source_revision", "Source control revision id for MariaDB source code", + READ_ONLY GLOBAL_VAR(server_version_source_revision), + CMD_LINE_HELP_ONLY, + IN_SYSTEM_CHARSET, DEFAULT(SOURCE_REVISION)); + static char *guess_malloc_library() { if (strcmp(MALLOC_LIBRARY, "system") == 0) |