Details
-
Task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
3.1.19, 3.3.3
-
None
Description
Connector/C doesn't support mariadb client specific error numbers (>= CER_MIN_ERROR) in macro SET_CLIENT_STMT_ERROR, since this macro uses ER() macro. Therefore a crash will occur if the error code exceeds CR_MAX_ERROR.
Attachments
Issue Links
- causes
-
CONC-643 Fix for CONC-624 broke support for C++03
-
- Closed
-
The commit message for the change that addressed this notes
This does have the side effect (not sure if it's intended or not) of now requiring the C++11 standard (previously the client could be used with C++03 but variadic argument usage breaks that) in order to compile cleanly (and break builds where warnings are treated as errors)
As I noted, I'm not sure if this is intentional or not, but if so perhaps the new C++ language requirement for the client should be noted.