diff options
author | wr61 <wr61@e10066b5-e1e2-0310-b819-94efdf66514b> | 2005-09-05 07:55:16 +0000 |
---|---|---|
committer | wr61 <wr61@e10066b5-e1e2-0310-b819-94efdf66514b> | 2005-09-05 07:55:16 +0000 |
commit | e45417adddb3ef1f4b3c996635007776eef381ef (patch) | |
tree | 156dde4f696fac2abfc33e4fe00e428ea23571ec /mg_db_gd_mysql.c | |
parent | 321885c1c243fba8582cec5f8b89de6365290315 (diff) | |
download | vdr-plugin-muggle-0.1.8-BETA.tar.gz vdr-plugin-muggle-0.1.8-BETA.tar.bz2 |
really disconnect from mysql server0.1.8-BETA
git-svn-id: https://vdr-muggle.svn.sourceforge.net/svnroot/vdr-muggle/tags/0.1.8-BETA@813 e10066b5-e1e2-0310-b819-94efdf66514b
Diffstat (limited to 'mg_db_gd_mysql.c')
-rw-r--r-- | mg_db_gd_mysql.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/mg_db_gd_mysql.c b/mg_db_gd_mysql.c index 4543d9d..2393441 100644 --- a/mg_db_gd_mysql.c +++ b/mg_db_gd_mysql.c @@ -226,8 +226,6 @@ mgDbServerMySQL::mgDbServerMySQL() mgDbServerMySQL::~mgDbServerMySQL() { - delete m_escape_db; - m_escape_db=0; #ifndef HAVE_ONLY_SERVER mgDebug(3,"calling mysql_server_end"); mysql_server_end(); @@ -468,7 +466,7 @@ mgDbGd::ServerConnect () return false; m_connect_time=time(0); if (!DbServer) - DbServer = new mgDbServerMySQL; + DbServer = new mgDbServer; m_db = mysql_init (0); if (!m_db) return false; |