You've already forked mariadb-connector-c
mirror of
https://github.com/mariadb-corporation/mariadb-connector-c.git
synced 2025-08-07 02:42:49 +03:00
Merge branch '3.3' into 3.4
This commit is contained in:
@@ -80,7 +80,7 @@
|
||||
#define strncasecmp _strnicmp
|
||||
#endif
|
||||
|
||||
#define ASYNC_CONTEXT_DEFAULT_STACK_SIZE (4096*15)
|
||||
#define ASYNC_CONTEXT_DEFAULT_STACK_SIZE (256*1024)
|
||||
#define MA_RPL_VERSION_HACK "5.5.5-"
|
||||
|
||||
#define CHARSET_NAME_LEN 64
|
||||
@@ -273,6 +273,11 @@ restart:
|
||||
ma_strmake(net->last_error,(char*) pos,
|
||||
min(len,sizeof(net->last_error)-1));
|
||||
}
|
||||
/* MDEV-35935: if server sends error packet without error, we have to
|
||||
set error manually */
|
||||
if (!net->last_errno) {
|
||||
my_set_error(mysql, CR_ERR_MISSING_ERROR_INFO, SQLSTATE_UNKNOWN, 0);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user