summaryrefslogtreecommitdiff
path: root/sql/sql_const.h
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2015-10-23 11:31:18 +0200
committerSergei Golubchik <serg@mariadb.org>2015-10-24 19:58:34 +0200
commitfb8713385f514da0b77d1212f2035a6d5678561e (patch)
tree277beced0b7a41803c94fe82dbd7c30238d51b47 /sql/sql_const.h
parent2c0bcfff8c8e32a9b70d1090ab34a5f53182ad52 (diff)
downloadmariadb-git-fb8713385f514da0b77d1212f2035a6d5678561e.tar.gz
remove unneded #include's that had a dubious explanation
Diffstat (limited to 'sql/sql_const.h')
-rw-r--r--sql/sql_const.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sql/sql_const.h b/sql/sql_const.h
index 9110902cde7..5c3a6d9a7cf 100644
--- a/sql/sql_const.h
+++ b/sql/sql_const.h
@@ -17,12 +17,14 @@
@file
File containing constants that can be used throughout the server.
- @note This file shall not contain any includes of any kinds.
+ @note This file shall not contain or include any declarations of any kinds.
*/
#ifndef SQL_CONST_INCLUDED
#define SQL_CONST_INCLUDED
+#include <mysql_version.h>
+
#define LIBLEN FN_REFLEN-FN_LEN /* Max l{ngd p} dev */
/* extra 4+4 bytes for slave tmp tables */
#define MAX_DBKEY_LENGTH (NAME_LEN*2+1+1+4+4)