main
parent
3d1d223c03
commit
1480fdbf7d
|
@ -18,7 +18,7 @@ OpDatabase::OpDatabase()
|
||||||
|
|
||||||
OpDatabase::~OpDatabase()
|
OpDatabase::~OpDatabase()
|
||||||
{
|
{
|
||||||
CloseDatabase();
|
//CloseDatabase();
|
||||||
}
|
}
|
||||||
|
|
||||||
OpDatabase* OpDatabase::getInstance()
|
OpDatabase* OpDatabase::getInstance()
|
||||||
|
@ -68,7 +68,7 @@ bool OpDatabase::OpenDatabase(const std::string& server, const std::string& dbus
|
||||||
// 关闭数据库连接
|
// 关闭数据库连接
|
||||||
void OpDatabase::CloseDatabase()
|
void OpDatabase::CloseDatabase()
|
||||||
{
|
{
|
||||||
//m_pDbConnection->close();
|
m_pDbConnection->close();
|
||||||
//delete m_pDbConnection;
|
//delete m_pDbConnection;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue