summaryrefslogtreecommitdiff
path: root/include/mysql.h
diff options
context:
space:
mode:
authormonty@mysql.com <>2006-03-27 12:02:23 +0300
committermonty@mysql.com <>2006-03-27 12:02:23 +0300
commit3dcbbb7c4d790b7349449d3f751ca49f2ff22117 (patch)
treecc00986022c0695ffae27ba71fbdea834df8e77b /include/mysql.h
parentbc4f7bfd74388655a92e1bfaeb6b5dfd5e3df461 (diff)
downloadmariadb-git-3dcbbb7c4d790b7349449d3f751ca49f2ff22117.tar.gz
Safer fix for Bug #18435 "5.0.19 libmysqlclient not ABI-compatible with 5.0.18"
This fixes the problem if someone is using struct MYSQL as part of another structure together with a shared library
Diffstat (limited to 'include/mysql.h')
-rw-r--r--include/mysql.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/mysql.h b/include/mysql.h
index 303cb2af4f5..925a4525378 100644
--- a/include/mysql.h
+++ b/include/mysql.h
@@ -287,8 +287,10 @@ typedef struct st_mysql
from mysql_stmt_close if close had to cancel result set of this object.
*/
my_bool *unbuffered_fetch_owner;
+#if defined(EMBEDDED_LIBRARY) || defined(EMBEDDED_LIBRARY_COMPATIBLE) || MYSQL_VERSION_ID >= 50100
/* needed for embedded server - no net buffer to store the 'info' */
char *info_buffer;
+#endif
} MYSQL;
typedef struct st_mysql_res {