HwangKC 2024-05-29 15:13:20 +08:00
parent 3d1d223c03
commit 1480fdbf7d
1 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ OpDatabase::OpDatabase()
OpDatabase::~OpDatabase()
{
CloseDatabase();
//CloseDatabase();
}
OpDatabase* OpDatabase::getInstance()
@ -68,7 +68,7 @@ bool OpDatabase::OpenDatabase(const std::string& server, const std::string& dbus
// 关闭数据库连接
void OpDatabase::CloseDatabase()
{
//m_pDbConnection->close();
m_pDbConnection->close();
//delete m_pDbConnection;
}