Details
-
Bug
-
Status: Closed (View Workflow)
-
Blocker
-
Resolution: Fixed
-
10.0.6
-
None
-
None
-
all
Description
Dynamic columns (ma_dyncol.h) uses structs DYNAMIC_STRING and LEX_STRING) which are included via my_sys.h and my_global.h.
These files shouldn't be included in application programs (also my_global.h includes other files which aren't part of the binary distribution).
How to fix:
ma_dyncol.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
|