| 477 | } |
| 478 | |
| 479 | CDbConnectionPool::CDbConnectionPool() |
| 480 | { |
| 481 | m_pShared = std::make_shared<CSharedData>(); |
| 482 | m_pWorkerThread = thread_init(CWorker::Start, new CWorker(m_pShared, g_Config.m_DbgSql), "database worker thread"); |
| 483 | m_pBackupThread = thread_init(CBackup::Start, new CBackup(m_pShared, g_Config.m_DbgSql), "database backup worker thread"); |
| 484 | } |
| 485 | |
| 486 | CDbConnectionPool::~CDbConnectionPool() |
| 487 | { |
nothing calls this directly
no test coverage detected