Commit c7ff4e10 authored by Sergei Golubchik's avatar Sergei Golubchik

merge

parents 55721e4a 8e62ad2f
......@@ -896,12 +896,13 @@ THD::~THD()
#endif
stmt_map.reset(); /* close all prepared statements */
DBUG_ASSERT(lock_info.n_cursors == 0);
ha_close_connection(this);
plugin_thdvar_cleanup(this);
if (!cleanup_done)
cleanup();
ha_close_connection(this);
plugin_thdvar_cleanup(this);
DBUG_PRINT("info", ("freeing security context"));
main_security_ctx.destroy();
safeFree(db);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment