summaryrefslogtreecommitdiff
path: root/include/errmsg.h
diff options
context:
space:
mode:
authorunknown <wax@mysql.com>2002-11-15 00:16:30 +0500
committerunknown <wax@mysql.com>2002-11-15 00:16:30 +0500
commit64dd949c419898111c673eed4efadf32acd3e435 (patch)
treef80131afae1725b283113608c4f38e9e43ace61b /include/errmsg.h
parentccf7226c2759bf6549c2cdd615ef55e95318520b (diff)
downloadmariadb-git-64dd949c419898111c673eed4efadf32acd3e435.tar.gz
Add shared memory protocol and option --protocol
client/client_priv.h: Add OPT_MYSQL_PROTOCOL and OPT_SHARED_MEMORY_BASE_NAME include/config-win.h: Add shared memory protocol include/errmsg.h: Add error codes of shared memory protocol include/my_sys.h: Delete TYPELIB, moved to typelib.h include/mysql.h: Add shared memory protocol include/violite.h: Add shared memory protocol libmysql/errmsg.c: Add texts of errors of shared memory protocol sql/mysqld.cc: Add shared memory protocol and option --shared-memory, correct option --named-pipe sql/set_var.cc: Add shared memory protocol variables vio/vio.c: Add shared memory protocol vio/viosocket.c: Add shared memory protocol BitKeeper/etc/logging_ok: Logging to logging@openlogging.org accepted
Diffstat (limited to 'include/errmsg.h')
-rw-r--r--include/errmsg.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/errmsg.h b/include/errmsg.h
index d97522f0972..5ac5ef9a4a7 100644
--- a/include/errmsg.h
+++ b/include/errmsg.h
@@ -72,3 +72,15 @@ extern const char *client_errors[]; /* Error messages */
#define CR_INVALID_PARAMETER_NO 2032
#define CR_INVALID_BUFFER_USE 2033
#define CR_UNSUPPORTED_PARAM_TYPE 2034
+
+#define CR_SHARED_MEMORY_CONNECTION 2035
+#define CR_SHARED_MEMORY_CONNECT_REQUEST_ERROR 2036
+#define CR_SHARED_MEMORY_CONNECT_ANSWER_ERROR 2037
+#define CR_SHARED_MEMORY_CONNECT_FILE_MAP_ERROR 2038
+#define CR_SHARED_MEMORY_CONNECT_MAP_ERROR 2039
+#define CR_SHARED_MEMORY_FILE_MAP_ERROR 2040
+#define CR_SHARED_MEMORY_MAP_ERROR 2041
+#define CR_SHARED_MEMORY_EVENT_ERROR 2042
+#define CR_SHARED_MEMORY_CONNECT_ABANDODED_ERROR 2043
+#define CR_SHARED_MEMORY_CONNECT_SET_ERROR 2046
+#define CR_CONN_UNKNOW_PROTOCOL 2048