[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    koffice/kexi/kexidb/drivers
From:       Jaroslaw Staniek <js () iidea ! pl>
Date:       2003-10-09 21:07:48
[Download RAW message or body]

CVS commit by staniek: 

Connection::destroy() instead of Connection::disconnect() should be called 
  from xxxxConnection subclasses.


  M +1 -1      mySQL/mysqlconnection.cpp   1.8
  M +1 -1      pqxx/pqxxconnection.cpp   1.3
  M +0 -6      sqlite/sqliteconnection.h   1.8


--- koffice/kexi/kexidb/drivers/mySQL/mysqlconnection.cpp  #1.7:1.8
@@ -48,5 +48,5 @@ MySqlConnection::MySqlConnection( Driver
 
 MySqlConnection::~MySqlConnection() {
-        disconnect();
+        destroy();
 }
 

--- koffice/kexi/kexidb/drivers/pqxx/pqxxconnection.cpp  #1.2:1.3
@@ -31,5 +31,5 @@ pqxxSqlConnection::pqxxSqlConnection(Dri
 pqxxSqlConnection::~pqxxSqlConnection()
 {
-    closeDatabase();
+    destroy();
 }
 

--- koffice/kexi/kexidb/drivers/sqlite/sqliteconnection.h  #1.7:1.8
@@ -26,10 +26,4 @@
 #include <kexidb/tableschema.h>
 
-//#include <kexidberror.h>
-//#include <qdict.h>
-
-//class MySqlRecordSet;
-//class MySqlResult;
-
 /*!
  */


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic