You've already forked mariadb-connector-c
mirror of
https://github.com/mariadb-corporation/mariadb-connector-c.git
synced 2025-08-07 02:42:49 +03:00
Fix for CONC-624:
- ER() macro now checks if the error code is known, if not it will return "Unknown or undefined error code" (instead of crashing) - SET_CLIENT_STMT_ERROR now maps to stmt_set_error and accepts variadic arguments
This commit is contained in:
@@ -32,6 +32,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
#include <stdlib.h>
|
||||
#include <ma_server_error.h>
|
||||
#include <mysql/client_plugin.h>
|
||||
#include <errmsg.h>
|
||||
|
||||
#ifndef WIN32
|
||||
#include <pthread.h>
|
||||
|
Reference in New Issue
Block a user