diff options
author | unknown <hf@deer.(none)> | 2003-09-08 13:11:18 +0500 |
---|---|---|
committer | unknown <hf@deer.(none)> | 2003-09-08 13:11:18 +0500 |
commit | d0f9e73a43382b8f53b1d23bd3ffdde8e39f3a5e (patch) | |
tree | 9bb4fb9d26d9619c909331d361eb2b1a642f4117 /libmysql/errmsg.c | |
parent | 08e274758715ead9d55f6b838a36dd1e732facf6 (diff) | |
download | mariadb-git-d0f9e73a43382b8f53b1d23bd3ffdde8e39f3a5e.tar.gz |
fix for #1210
include/errmsg.h:
Error code added
libmysql/errmsg.c:
Error message added
libmysqld/lib_sql.cc:
static inited variable changed to global server_inited
libmysqld/libmysqld.c:
check for mysql_server_init execution added
Diffstat (limited to 'libmysql/errmsg.c')
-rw-r--r-- | libmysql/errmsg.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/libmysql/errmsg.c b/libmysql/errmsg.c index bbb85885886..d27e981aaab 100644 --- a/libmysql/errmsg.c +++ b/libmysql/errmsg.c @@ -71,7 +71,8 @@ const char *client_errors[]= "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 unknown protocol", - "Invalid connection handle" + "Invalid connection handle", + "mysql_server_init wasn't called" }; /* Start of code added by Roberto M. Serqueira - martinsc@uol.com.br - 05.24.2001 */ @@ -126,7 +127,8 @@ const char *client_errors[]= "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 unknown protocol", - "Invalid connection handle" + "Invalid connection handle", + "mysql_server_init wasn't called" }; #else /* ENGLISH */ @@ -179,7 +181,8 @@ const char *client_errors[]= "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 unknown protocol", - "Invalid connection handle" + "Invalid connection handle", + "mysql_server_init wasn't called" }; #endif |