diff options
author | unknown <sasha@mysql.sashanet.com> | 2000-12-09 14:28:51 -0700 |
---|---|---|
committer | unknown <sasha@mysql.sashanet.com> | 2000-12-09 14:28:51 -0700 |
commit | 8beb43501be6bb4a4bd09e2b0aadc815dcc2f606 (patch) | |
tree | e1d361e164277c92682635c15be624dce98c7c72 /sql/sql_class.cc | |
parent | 701af104149fc90dc61267a0dc0f67694c8ac40b (diff) | |
download | mariadb-git-8beb43501be6bb4a4bd09e2b0aadc815dcc2f606.tar.gz |
fixed up leaks found by --exit-info=256
better error diagnostic in SLAVE START
sql/mini_client.cc:
if we fail to connect, we need to free the inited structure
sql/mysqld.cc:
added end_slave() for slave cleanup
sql/slave.cc:
fixed serveral memory leaks
sql/slave.h:
added end_master_info() for clean up
sql/sql_class.cc:
not changed
sql/sql_repl.cc:
initialize master info before creating slave thread in SLAVE START -
this way we can easily send an error to the client if something is
wrong in init_master_info
Diffstat (limited to 'sql/sql_class.cc')
-rw-r--r-- | sql/sql_class.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_class.cc b/sql/sql_class.cc index b310d0f44bb..0587ad6f31c 100644 --- a/sql/sql_class.cc +++ b/sql/sql_class.cc @@ -139,7 +139,7 @@ THD::~THD() if (net.vio) { vio_delete(net.vio); - net_end(&net); + net_end(&net); } ha_rollback(this); if (locked_tables) |