summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorunknown <sanja@askmonty.org>2013-10-07 10:25:02 +0300
committerunknown <sanja@askmonty.org>2013-10-07 10:25:02 +0300
commit4b74214c7b46e44b419415b853fb59b887455156 (patch)
tree6013f4ca1de3309fe4e72ba7d80c4ab184d61d6d /include
parent426d246f5b8a4c598a913838b625e05e63ccb41f (diff)
downloadmariadb-git-4b74214c7b46e44b419415b853fb59b887455156.tar.gz
MDEV-5085: Dynamic columns require inclusion of my_sys.h and my_global.h
Diffstat (limited to 'include')
-rw-r--r--include/ma_dyncol.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/ma_dyncol.h b/include/ma_dyncol.h
index e14b04ce7f0..55ee2d75122 100644
--- a/include/ma_dyncol.h
+++ b/include/ma_dyncol.h
@@ -33,6 +33,24 @@
#include <my_decimal_limits.h>
#include <mysql_time.h>
+#ifndef _my_sys_h
+typedef struct st_dynamic_string
+{
+ char *str;
+ size_t length,max_length,alloc_increment;
+} DYNAMIC_STRING;
+#endif
+
+#ifndef MY_GLOBAL_INCLUDED
+struct st_mysql_lex_string
+{
+ char *str;
+ size_t length;
+};
+typedef struct st_mysql_lex_string MYSQL_LEX_STRING;
+typedef struct st_mysql_lex_string LEX_STRING;
+#endif
+
/*
Limits of implementation
*/