summaryrefslogtreecommitdiff
path: root/include/errmsg.h
diff options
context:
space:
mode:
authorunknown <venu@myvenu.com>2002-06-12 13:47:32 -0700
committerunknown <venu@myvenu.com>2002-06-12 13:47:32 -0700
commit049a8386f3ce99e689f1dc3e562c29e7d8113e71 (patch)
tree828ffdb26c08300b6b8d2b10bcfc33bd2949f204 /include/errmsg.h
parente413fd4c38735663c6122c7f7e509e3982f9296b (diff)
downloadmariadb-git-049a8386f3ce99e689f1dc3e562c29e7d8113e71.tar.gz
Client-Server Protocol 4.1 changes - Client side:
- Support of prepared execution - Support of Original Table and Column names - Support of direct transactional API - And lot of misc handling (Note that, the pull will not work, unless you have the Server side changes also which will be followed by this commit) BitKeeper/etc/logging_ok: Logging to logging@openlogging.org accepted
Diffstat (limited to 'include/errmsg.h')
-rw-r--r--include/errmsg.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/errmsg.h b/include/errmsg.h
index 76a57f47611..175089ba371 100644
--- a/include/errmsg.h
+++ b/include/errmsg.h
@@ -61,3 +61,17 @@ 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_MEMORY_ERROR 2028
+#define CR_NO_PREPARE_STMT 2029
+#define CR_NOT_ALL_PARAMS_BOUND 2030
+#define CR_DATA_TRUNCATED 2031
+#define CR_NOT_ALL_BUFFERS_BOUND 2032
+#define CR_FAILED_TO_SET_PARAM_DATA 2033
+#define CR_NO_PARAMETERS_EXISTS 2033
+#define CR_INVALID_PARAMETER_NO 2035
+#define CR_INVALID_BUFFER_USE 2036
+