mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
test cases for MySQL bugs
also fix a comment, and update a macro just in case
This commit is contained in:
@@ -36,8 +36,9 @@ extern const char *client_errors[]; /* Error messages */
|
||||
#define CR_MIN_ERROR 2000 /* For easier client code */
|
||||
#define CR_MAX_ERROR 2999
|
||||
#if !defined(ER)
|
||||
#define ER(X) (((X) >= CR_ERROR_FIRST && (X) <= CR_ERROR_LAST)? \
|
||||
client_errors[(X)-CR_ERROR_FIRST]: client_errors[CR_UNKNOWN_ERROR])
|
||||
#define ER(X) (((X) >= CR_ERROR_FIRST && (X) <= CR_ERROR_LAST) \
|
||||
? client_errors[(X)-CR_ERROR_FIRST] \
|
||||
: client_errors[CR_UNKNOWN_ERROR-CR_ERROR_FIRST])
|
||||
|
||||
#endif
|
||||
#define CLIENT_ERRMAP 2 /* Errormap used by my_error() */
|
||||
|
Reference in New Issue
Block a user