| 1603 | |
| 1604 | |
| 1605 | void BURP_error_redirect(Firebird::IStatus* status_vector, USHORT errcode, const SafeArg& arg) |
| 1606 | { |
| 1607 | /************************************** |
| 1608 | * |
| 1609 | * B U R P _ e r r o r _ r e d i r e c t |
| 1610 | * |
| 1611 | ************************************** |
| 1612 | * |
| 1613 | * Functional description |
| 1614 | * Issue error message. Output messages then abort. |
| 1615 | * |
| 1616 | **************************************/ |
| 1617 | BurpMaster master; |
| 1618 | |
| 1619 | // StatusAccessor is used only as RAII holder here |
| 1620 | UtilSvc::StatusAccessor sa = master.get()->uSvc->getStatusAccessor(); |
| 1621 | |
| 1622 | BURP_print_status(true, status_vector); |
| 1623 | BURP_error(errcode, true, arg); |
| 1624 | } |
| 1625 | |
| 1626 | |
| 1627 | // ********************************** |
no test coverage detected