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

Method exceptionHandler

src/jrd/tra.cpp:2761–2774  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2759 }
2760
2761 void exceptionHandler(const Exception& ex, ThreadFinishSync<SweepParameter*>::ThreadRoutine*)
2762 {
2763 FbLocalStatus st;
2764 ex.stuffException(&st);
2765 if (st->getErrors()[1] != isc_att_shutdown)
2766 iscLogException("Automatic sweep error", ex);
2767
2768 if (dbb)
2769 {
2770 dbb->clearSweepStarting();
2771 SPTHR_DEBUG(fprintf(stderr, "called clearSweepStarting() dbb=%p par=%p\n", dbb, this));
2772 dbb = nullptr;
2773 }
2774 }
2775
2776 static void cleanup(SweepParameter* par)
2777 {

Callers

nothing calls this directly

Calls 4

iscLogExceptionFunction · 0.85
clearSweepStartingMethod · 0.80
stuffExceptionMethod · 0.45
getErrorsMethod · 0.45

Tested by

no test coverage detected