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
Fix for CONC-505:
Don't allow to specify unsupported client flags (like CLIENT_DEPRECATE_EOF) as client flag in mysql_real_connect api function.
This commit is contained in:
@@ -114,10 +114,11 @@ extern const char *mariadb_client_errors[]; /* Error messages */
|
||||
#define CR_BINLOG_ERROR 5021
|
||||
#define CR_BINLOG_INVALID_FILE 5022
|
||||
#define CR_BINLOG_SEMI_SYNC_ERROR 5023
|
||||
#define CR_INVALID_CLIENT_FLAG 5024
|
||||
|
||||
/* Always last, if you add new error codes please update the
|
||||
value for CR_MARIADB_LAST_ERROR */
|
||||
#define CR_MARIADB_LAST_ERROR CR_BINLOG_INVALID_FILE
|
||||
#define CR_MARIADB_LAST_ERROR CR_INVALID_CLIENT_FLAG
|
||||
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user