summaryrefslogtreecommitdiff
path: root/libmysqld/embedded_priv.h
diff options
context:
space:
mode:
authorunknown <hf@deer.(none)>2004-05-17 12:05:57 +0500
committerunknown <hf@deer.(none)>2004-05-17 12:05:57 +0500
commitafe09e48e0471e989f01b4fe4125d2fd91db2ab8 (patch)
treef862e98f96e4688390bfe532bbb2f31e1f8ae2da /libmysqld/embedded_priv.h
parent8ef62cc1ef3e2b16795fa5fbbc45bcdf422f344c (diff)
downloadmariadb-git-afe09e48e0471e989f01b4fe4125d2fd91db2ab8.tar.gz
Proposed fix for #3744 (embedded server, wrong error message if database is
missing) libmysqld/embedded_priv.h: embedded_get_error interface added libmysqld/lib_sql.cc: embedded_get_error implementation/using added libmysqld/libmysqld.c: embedded_get_error call added
Diffstat (limited to 'libmysqld/embedded_priv.h')
-rw-r--r--libmysqld/embedded_priv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libmysqld/embedded_priv.h b/libmysqld/embedded_priv.h
index 1608f4ed4ad..d4316dff63f 100644
--- a/libmysqld/embedded_priv.h
+++ b/libmysqld/embedded_priv.h
@@ -28,5 +28,6 @@ void init_embedded_mysql(MYSQL *mysql, int client_flag, char *db);
void *create_embedded_thd(int client_flag, char *db);
int check_embedded_connection(MYSQL *mysql);
void free_old_query(MYSQL *mysql);
+void embedded_get_error(MYSQL *mysql);
extern MYSQL_METHODS embedded_methods;
C_MODE_END