summaryrefslogtreecommitdiff
path: root/include/errmsg.h
diff options
context:
space:
mode:
authorunknown <serg@serg.mysql.com>2002-12-04 17:37:51 +0100
committerunknown <serg@serg.mysql.com>2002-12-04 17:37:51 +0100
commit8cf927658d7720519380a3a88dc6c6f3e0b4c898 (patch)
treed1e99894d234a00c745d880605d3097b38bea5c0 /include/errmsg.h
parentb1582a0bd2078608283600ee12246d89f5d7417f (diff)
downloadmariadb-git-8cf927658d7720519380a3a88dc6c6f3e0b4c898.tar.gz
new client error added: CR_MALFORMED_PACKET
Diffstat (limited to 'include/errmsg.h')
-rw-r--r--include/errmsg.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/include/errmsg.h b/include/errmsg.h
index 842d53c9303..5136af5b87a 100644
--- a/include/errmsg.h
+++ b/include/errmsg.h
@@ -28,7 +28,7 @@ extern const char *client_errors[]; /* Error messages */
#define CR_MIN_ERROR 2000 /* For easier client code */
#define CR_MAX_ERROR 2999
-#if defined(OS2) && defined( MYSQL_SERVER)
+#if defined(OS2) && defined(MYSQL_SERVER)
#define CER(X) client_errors[(X)-CR_MIN_ERROR]
#else
#define ER(X) client_errors[(X)-CR_MIN_ERROR]
@@ -51,8 +51,8 @@ extern const char *client_errors[]; /* Error messages */
#define CR_SERVER_LOST 2013
#define CR_COMMANDS_OUT_OF_SYNC 2014
#define CR_NAMEDPIPE_CONNECTION 2015
-#define CR_NAMEDPIPEWAIT_ERROR 2016
-#define CR_NAMEDPIPEOPEN_ERROR 2017
+#define CR_NAMEDPIPEWAIT_ERROR 2016
+#define CR_NAMEDPIPEOPEN_ERROR 2017
#define CR_NAMEDPIPESETSTATE_ERROR 2018
#define CR_CANT_READ_CHARSET 2019
#define CR_NET_PACKET_TOO_LARGE 2020
@@ -62,3 +62,5 @@ extern const char *client_errors[]; /* Error messages */
#define CR_PROBE_SLAVE_CONNECT 2024
#define CR_PROBE_MASTER_CONNECT 2025
#define CR_SSL_CONNECTION_ERROR 2026
+#define CR_MALFORMED_PACKET 2027
+