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
This commit is contained in:
monty@mysql.com 2006-03-27 12:02:23 +03:00
commit 3dcbbb7c4d
2 changed files with 2 additions and 6 deletions

View file

@ -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 {