You've already forked mariadb-connector-c
mirror of
https://github.com/mariadb-corporation/mariadb-connector-c.git
synced 2025-08-08 14:02:17 +03:00
Workaround for MDEV-35935
If the server returns an error packet without error number (and message) we set errno=CR_ERR_MISSING_ERROR_INFO (5026)
This commit is contained in:
@@ -115,10 +115,11 @@ extern const char *mariadb_client_errors[]; /* Error messages */
|
||||
#define CR_BINLOG_INVALID_FILE 5022
|
||||
#define CR_BINLOG_SEMI_SYNC_ERROR 5023
|
||||
#define CR_INVALID_CLIENT_FLAG 5024
|
||||
#define CR_ERR_MISSING_ERROR_INFO 5026
|
||||
|
||||
/* Always last, if you add new error codes please update the
|
||||
value for CR_MARIADB_LAST_ERROR */
|
||||
#define CR_MARIADB_LAST_ERROR CR_INVALID_CLIENT_FLAG
|
||||
#define CR_MARIADB_LAST_ERROR CR_ERR_MISSING_ERROR_INFO
|
||||
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user