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

Method startTipCache

src/jrd/Database.cpp:486–503  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

484 }
485
486 void Database::startTipCache(thread_db* tdbb)
487 {
488 fb_assert(!dbb_tip_cache);
489
490 TipCache* cache = FB_NEW_POOL(*dbb_permanent) TipCache(this);
491 try
492 {
493 cache->initializeTpc(tdbb);
494 }
495 catch(const Exception&)
496 {
497 cache->finalizeTpc(tdbb);
498 delete cache;
499 throw;
500 }
501
502 dbb_tip_cache = cache;
503 }
504
505 // Methods encapsulating operations with vectors of known pages
506

Callers 2

internalAttachMethod · 0.80
createDatabaseMethod · 0.80

Calls 3

initializeTpcMethod · 0.80
finalizeTpcMethod · 0.80
TipCacheClass · 0.70

Tested by

no test coverage detected