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

Function LCK_OWNER_HANDLE_ATT

src/jrd/lck.cpp:118–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116}
117
118inline SLONG* LCK_OWNER_HANDLE_ATT(thread_db* tdbb)
119{
120 if (tdbb->getDatabase()->dbb_flags & DBB_shared)
121 return &tdbb->getAttachment()->att_lock_owner_handle;
122
123 return &tdbb->getDatabase()->dbb_lock_owner_handle;
124}
125
126
127static const bool compatibility[LCK_max][LCK_max] =

Callers 3

LCK_finiFunction · 0.85
get_owner_handleFunction · 0.85
LCK_initFunction · 0.85

Calls 2

getDatabaseMethod · 0.80
getAttachmentMethod · 0.45

Tested by

no test coverage detected