mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
SCRUM
embedded library missed memory freeing added libmysqld/embedded_priv.h: declaration added libmysqld/lib_sql.cc: implementation added libmysqld/libmysqld.c: mysql->thd releasing
This commit is contained in:
@@ -289,6 +289,9 @@ void STDCALL mysql_close(MYSQL *mysql)
|
||||
#endif /* HAVE_OPENSSL */
|
||||
if (mysql->free_me)
|
||||
my_free((gptr) mysql,MYF(0));
|
||||
|
||||
free_embedded_thd(mysql);
|
||||
|
||||
}
|
||||
DBUG_VOID_RETURN;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user