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

Method initDone

src/jrd/jrd.cpp:5029–5043  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5027
5028
5029void SysStableAttachment::initDone()
5030{
5031 Jrd::Attachment* attachment = getHandle();
5032 Database* dbb = attachment->att_database;
5033
5034 { // scope
5035 SyncLockGuard guard(&dbb->dbb_sys_attach, SYNC_EXCLUSIVE, "SysStableAttachment::initDone");
5036
5037 attachment->att_next = dbb->dbb_sys_attachments;
5038 dbb->dbb_sys_attachments = attachment;
5039 }
5040
5041 // make system attachments traceable
5042 attachment->att_trace_manager->activate();
5043}
5044
5045
5046void SysStableAttachment::destroy(Attachment* attachment)

Callers 2

cache_writerMethod · 0.80
garbage_collectorMethod · 0.80

Calls 1

activateMethod · 0.45

Tested by

no test coverage detected