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

Function PAGE_LOCK_RELEASE

src/jrd/cch.cpp:96–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94
95
96static inline void PAGE_LOCK_RELEASE(thread_db* tdbb, BufferControl* bcb, Lock* lock)
97{
98 if (!(bcb->bcb_flags & BCB_exclusive))
99 {
100 CCH_TRACE(("LCK RLS %" SQUADFORMAT, lock->getKey()));
101 LCK_release(tdbb, lock);
102 }
103}
104
105static inline void PAGE_LOCK_ASSERT(thread_db* tdbb, BufferControl* bcb, Lock* lock)
106{

Callers 6

CCH_fetch_pageFunction · 0.85
CCH_releaseFunction · 0.85
CCH_shutdownFunction · 0.85
flushAllFunction · 0.85
flushPagesFunction · 0.85
down_gradeFunction · 0.85

Calls 2

LCK_releaseFunction · 0.85
getKeyMethod · 0.45

Tested by

no test coverage detected