diff options
author | unknown <monty@mysql.com> | 2003-11-26 03:30:00 +0200 |
---|---|---|
committer | unknown <monty@mysql.com> | 2003-11-26 03:30:00 +0200 |
commit | fa9047e280de35122bde867a19da1f9ec1297b10 (patch) | |
tree | 0542d4432c473f3d6fcbecefb2fb393ecd66dd66 /include/mysql_version.h.in | |
parent | c61d96d5baf8bb1d11502552a24cfca743e41419 (diff) | |
download | mariadb-git-fa9047e280de35122bde867a19da1f9ec1297b10.tar.gz |
Added compilation comment to 'show variables'
This makes it possible to check origin of binary from the output of 'show variables'
include/mysql_version.h.in:
Added MYSQL_COMPILATION_COMMENT
sql/mysqld.cc:
Added compilation comment to mysqld --version
sql/set_var.cc:
Added compilation comment to 'show variables'
Diffstat (limited to 'include/mysql_version.h.in')
-rw-r--r-- | include/mysql_version.h.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mysql_version.h.in b/include/mysql_version.h.in index da184665f6e..41d4ce081fb 100644 --- a/include/mysql_version.h.in +++ b/include/mysql_version.h.in @@ -19,6 +19,7 @@ #define MYSQL_PORT @MYSQL_TCP_PORT@ #define MYSQL_UNIX_ADDR "@MYSQL_UNIX_ADDR@" #define MYSQL_CONFIG_NAME "my" +#define MYSQL_COMPILATION_COMMENT "@COMPILATION_COMMENT@" /* mysqld compile time options */ #ifndef MYSQL_CHARSET |