| 1181 | } |
| 1182 | |
| 1183 | int 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 | |
| 1201 | ProfilerManager* Attachment::getProfilerManager(thread_db* tdbb) |
| 1202 | { |
nothing calls this directly
no test coverage detected