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

Method blockingAstReplSet

src/jrd/Attachment.cpp:1183–1199  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1181}
1182
1183int Attachment::blockingAstReplSet(void* ast_object)
1184{
1185 Attachment* const attachment = static_cast<Attachment*>(ast_object);
1186
1187 try
1188 {
1189 Database* const dbb = attachment->att_database;
1190
1191 AsyncContextHolder tdbb(dbb, FB_FUNCTION, attachment->att_repl_lock);
1192
1193 attachment->invalidateReplSet(tdbb, false);
1194 }
1195 catch (const Exception&)
1196 {} // no-op
1197
1198 return 0;
1199}
1200
1201ProfilerManager* Attachment::getProfilerManager(thread_db* tdbb)
1202{

Callers

nothing calls this directly

Calls 1

invalidateReplSetMethod · 0.80

Tested by

no test coverage detected