summaryrefslogtreecommitdiff
path: root/libmysql/errmsg.c
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 /libmysql/errmsg.c
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 'libmysql/errmsg.c')
-rw-r--r--libmysql/errmsg.c33
1 files changed, 33 insertions, 0 deletions
diff --git a/libmysql/errmsg.c b/libmysql/errmsg.c
index 581bb184ff3..0945aed6772 100644
--- a/libmysql/errmsg.c
+++ b/libmysql/errmsg.c
@@ -59,6 +59,17 @@ const char *client_errors[]=
"Invalid parameter number",
"Can't send long data for non string or binary data types (parameter: %d)",
"Using not supported parameter type: %d (parameter: %d)"
+ "Shared memory (%lu)",
+ "Can't open shared memory. Request event don't create (%lu)",
+ "Can't open shared memory. Answer event don't create (%lu)",
+ "Can't open shared memory. File mapping don't create (%lu)",
+ "Can't open shared memory. Map of memory don't create (%lu)",
+ "Can't open shared memory. File mapping don't create for client (%lu)",
+ "Can't open shared memory. Map of memory don't create for client (%lu)",
+ "Can't open shared memory. %s event don't create for client (%lu)",
+ "Can't open shared memory. Server abandoded and don't sent the answer event (%lu)",
+ "Can't open shared memory. Can't send the request event to server (%lu)"
+ "Wrong or unknow protocol"
};
/* Start of code added by Roberto M. Serqueira - martinsc@uol.com.br - 05.24.2001 */
@@ -101,6 +112,17 @@ const char *client_errors[]=
"Invalid parameter number",
"Can't send long data for non string or binary data types (parameter: %d)",
"Using not supported parameter type: %d (parameter: %d)"
+ "Shared memory (%lu)",
+ "Can't open shared memory. Request event don't create (%lu)",
+ "Can't open shared memory. Answer event don't create (%lu)",
+ "Can't open shared memory. File mapping don't create (%lu)",
+ "Can't open shared memory. Map of memory don't create (%lu)",
+ "Can't open shared memory. File mapping don't create for client (%lu)",
+ "Can't open shared memory. Map of memory don't create for client (%lu)",
+ "Can't open shared memory. %s event don't create for client (%lu)",
+ "Can't open shared memory. Server abandoded and don't sent the answer event (%lu)",
+ "Can't open shared memory. Can't send the request event to server (%lu)"
+ "Wrong or unknow protocol"
};
#else /* ENGLISH */
@@ -141,6 +163,17 @@ const char *client_errors[]=
"Invalid parameter number",
"Can't send long data for non string or binary data types (parameter: %d)",
"Using not supported parameter type: %d (parameter: %d)"
+ "Shared memory (%lu)",
+ "Can't open shared memory. Request event don't create (%lu)",
+ "Can't open shared memory. Answer event don't create (%lu)",
+ "Can't open shared memory. File mapping don't create (%lu)",
+ "Can't open shared memory. Map of memory don't create (%lu)",
+ "Can't open shared memory. File mapping don't create for client (%lu)",
+ "Can't open shared memory. Map of memory don't create for client (%lu)",
+ "Can't open shared memory. %s event don't create for client (%lu)",
+ "Can't open shared memory. Server abandoded and don't sent the answer event (%lu)",
+ "Can't open shared memory. Can't send the request event to server (%lu)"
+ "Wrong or unknow protocol"
};
#endif