File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 11#ifndef ERRMSG_INCLUDED
22#define ERRMSG_INCLUDED
33
4- /* Copyright (c) 2000, 2014 , Oracle and/or its affiliates. All rights reserved.
4+ /* Copyright (c) 2000, 2022 , Oracle and/or its affiliates. All rights reserved.
55
66 This program is free software; you can redistribute it and/or modify
77 it under the terms of the GNU General Public License, version 2.0,
@@ -40,7 +40,8 @@ extern const char *client_errors[]; /* Error messages */
4040#define CR_MAX_ERROR 2999
4141#if !defined(ER )
4242#define ER (X ) (((X) >= CR_ERROR_FIRST && (X) <= CR_ERROR_LAST)? \
43- client_errors[(X)-CR_ERROR_FIRST]: client_errors[CR_UNKNOWN_ERROR])
43+ client_errors[(X) - CR_ERROR_FIRST]: \
44+ client_errors[CR_UNKNOWN_ERROR - CR_ERROR_FIRST])
4445
4546#endif
4647#define CLIENT_ERRMAP 2 /* Errormap used by my_error() */
You can’t perform that action at this time.
0 commit comments