summaryrefslogtreecommitdiff
path: root/include/mysql_version.h.in
blob: f22e00dabb9c5ce543d6237b10778a378cc3084d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/* Copyright Abandoned 1996,1999 TCX DataKonsult AB & Monty Program KB
   & Detron HB, 1996, 1999-2004, 2007 MySQL AB.
   This file is public domain and comes with NO WARRANTY of any kind
*/

/* Version numbers for protocol & mysqld */

#ifndef _mysql_version_h
#define _mysql_version_h
#ifdef _CUSTOMCONFIG_
#include <custom_conf.h>
#else
#define PROTOCOL_VERSION		@PROTOCOL_VERSION@
#define MYSQL_SERVER_VERSION		"@VERSION@-MariaDB"
#define MYSQL_BASE_VERSION		"mysqld-@MYSQL_BASE_VERSION@"
#define MARIADB_BASE_VERSION		"mariadb-@MYSQL_BASE_VERSION@"
#define MYSQL_SERVER_SUFFIX_DEF		"@MYSQL_SERVER_SUFFIX@"
#define FRM_VER				@DOT_FRM_VERSION@
#define MYSQL_VERSION_ID		@MYSQL_VERSION_ID@
#define MYSQL_PORT			@MYSQL_TCP_PORT@
#define MYSQL_PORT_DEFAULT		@MYSQL_TCP_PORT_DEFAULT@
#define MYSQL_UNIX_ADDR			"@MYSQL_UNIX_ADDR@"
#define MYSQL_CONFIG_NAME		"my"
#define MYSQL_COMPILATION_COMMENT	"@COMPILATION_COMMENT@"

#ifdef WITH_WSREP
#define WSREP_PATCH_VERSION             "@WSREP_PATCH_VERSION@"
#endif

/* mysqld compile time options */
#endif /* _CUSTOMCONFIG_ */

#ifndef LICENSE
#define LICENSE				GPL
#endif /* LICENSE */

#endif /* _mysql_version_h */