1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-07 00:04:31 +03:00

Bug #25097 mysql_server_init fails silently if no errmsg.sys is present.

There was no way to return an error from the client library
if no MYSQL connections was established.
So here i added variables to store that king of errors and
made functions like mysql_error(NULL) to return these.
This commit is contained in:
holyfoot/hf@mysql.com/hfmain.(none)
2008-02-27 12:42:43 +04:00
parent 663453d572
commit 140ca59538
6 changed files with 35 additions and 13 deletions

View File

@@ -15,6 +15,7 @@
extern const char *unknown_sqlstate;
extern const char *cant_connect_sqlstate;
extern const char *not_error_sqlstate;
#ifdef __cplusplus