summaryrefslogtreecommitdiff
path: root/include/errmsg.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/errmsg.h')
-rw-r--r--include/errmsg.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/errmsg.h b/include/errmsg.h
index 76a57f47611..d97522f0972 100644
--- a/include/errmsg.h
+++ b/include/errmsg.h
@@ -61,3 +61,14 @@ extern const char *client_errors[]; /* Error messages */
#define CR_PROBE_SLAVE_HOSTS 2023
#define CR_PROBE_SLAVE_CONNECT 2024
#define CR_PROBE_MASTER_CONNECT 2025
+
+/* new 4.1 error codes */
+#define CR_INVALID_CONN_HANDLE 2026
+#define CR_NULL_POINTER 2027
+#define CR_NO_PREPARE_STMT 2028
+#define CR_NOT_ALL_PARAMS_BOUND 2029
+#define CR_DATA_TRUNCATED 2030
+#define CR_NO_PARAMETERS_EXISTS 2031
+#define CR_INVALID_PARAMETER_NO 2032
+#define CR_INVALID_BUFFER_USE 2033
+#define CR_UNSUPPORTED_PARAM_TYPE 2034