MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / create

Method create

src/jrd/Database.h:399–406  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

setStatsGroupMethod · 0.80
DatabaseClass · 0.70

Tested by

no test coverage detected