| 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 | { |
nothing calls this directly
no test coverage detected