| 397 | }; |
| 398 | |
| 399 | static Database* create(Firebird::IPluginConfig* pConf, bool shared) |
| 400 | { |
| 401 | Firebird::MemoryStats temp_stats; |
| 402 | MemoryPool* const pool = MemoryPool::createPool(NULL, temp_stats); |
| 403 | Database* const dbb = FB_NEW_POOL(*pool) Database(pool, pConf, shared); |
| 404 | pool->setStatsGroup(dbb->dbb_memory_stats); |
| 405 | return dbb; |
| 406 | } |
| 407 | |
| 408 | // The destroy() function MUST be used to delete a Database object. |
| 409 | // The function hides some tricky order of operations. Since the |
nothing calls this directly
no test coverage detected