aboutsummaryrefslogtreecommitdiff
path: root/mysql/version.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'mysql/version.h.in')
-rw-r--r--mysql/version.h.in43
1 files changed, 43 insertions, 0 deletions
diff --git a/mysql/version.h.in b/mysql/version.h.in
new file mode 100644
index 0000000..05e409a
--- /dev/null
+++ b/mysql/version.h.in
@@ -0,0 +1,43 @@
+/* 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
+
+#define PROTOCOL_VERSION @PROTOCOL_VERSION@
+#define MYSQL_SERVER_VERSION "@VERSION@"
+#define MYSQL_BASE_VERSION "mysqld-@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@"
+#define LIBMYSQL_VERSION "@VERSION@"
+#define LIBMYSQL_VERSION_ID @MYSQL_VERSION_ID@
+#define SYS_SCHEMA_VERSION "@SYS_SCHEMA_VERSION@"
+
+#ifndef LICENSE
+#define LICENSE GPL
+#endif /* LICENSE */
+
+/*
+ * These macro definitions are added to the original ones during packaging the
+ * project for build2.
+ */
+#define MYSQL_VERSION_MAJOR @MYSQL_VERSION_MAJOR@
+#define MYSQL_VERSION_MINOR @MYSQL_VERSION_MINOR@
+#define MACHINE_TYPE "@MACHINE_TYPE@"
+#define SYSTEM_TYPE "@SYSTEM_TYPE@"
+#define DEFAULT_BASEDIR "@DEFAULT_BASEDIR@"
+#define DEFAULT_CHARSET_HOME DEFAULT_BASEDIR
+#define PLUGINDIR "@PLUGINDIR@"
+#define SHAREDIR "@SHAREDIR@"
+
+#endif /* _mysql_version_h */