mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
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
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user