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

Method checkReplSetLock

src/jrd/Attachment.cpp:1145–1153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1143}
1144
1145void Attachment::checkReplSetLock(thread_db* tdbb)
1146{
1147 if (att_flags & ATT_repl_reset)
1148 {
1149 fb_assert(att_repl_lock->lck_logical == LCK_none);
1150 LCK_lock(tdbb, att_repl_lock, LCK_SR, LCK_WAIT);
1151 att_flags &= ~ATT_repl_reset;
1152 }
1153}
1154
1155void Attachment::invalidateReplSet(thread_db* tdbb, bool broadcast)
1156{

Callers 1

isReplicatingMethod · 0.80

Calls 1

LCK_lockFunction · 0.85

Tested by

no test coverage detected