summaryrefslogtreecommitdiff
path: root/libmysql
diff options
context:
space:
mode:
authorhf@deer.(none) <>2005-08-04 16:27:53 +0500
committerhf@deer.(none) <>2005-08-04 16:27:53 +0500
commit1311d4dc7941b2fc20056f3518bae7461352eabd (patch)
tree14b4d0985c4ec0b62128deec2534f94d13accaea /libmysql
parenta0bd08d1b22fa2098ee2c2d1281f3474d56a2d40 (diff)
parent39ef54fd8e85f23790b8f343145ef76b807743b9 (diff)
downloadmariadb-git-1311d4dc7941b2fc20056f3518bae7461352eabd.tar.gz
Merging
Diffstat (limited to 'libmysql')
-rw-r--r--libmysql/libmysql.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/libmysql/libmysql.c b/libmysql/libmysql.c
index 3931d7947aa..11ee7284cbf 100644
--- a/libmysql/libmysql.c
+++ b/libmysql/libmysql.c
@@ -189,6 +189,13 @@ void STDCALL mysql_server_end()
finish_client_errs();
free_charsets();
mysql_client_init= org_my_init_done= 0;
+#ifdef EMBEDDED_SERVER
+ if (stderror_file)
+ {
+ fclose(stderror_file);
+ stderror_file= 0;
+ }
+#endif
}
static MYSQL_PARAMETERS mysql_internal_parameters=