| 826 | |
| 827 | |
| 828 | void Connection::raise(const FbStatusVector* status, thread_db* /*tdbb*/, const char* sWhere) |
| 829 | { |
| 830 | if (!getWrapErrors(status->getErrors())) |
| 831 | { |
| 832 | ERR_post(Arg::StatusVector(status)); |
| 833 | } |
| 834 | |
| 835 | string rem_err; |
| 836 | m_provider.getRemoteError(status, rem_err); |
| 837 | |
| 838 | // Execute statement error at @1 :\n@2Data source : @3 |
| 839 | ERR_post(Arg::Gds(isc_eds_connection) << Arg::Str(sWhere) << |
| 840 | Arg::Str(rem_err) << |
| 841 | Arg::Str(getDataSourceName())); |
| 842 | } |
| 843 | |
| 844 | |
| 845 | bool Connection::getWrapErrors(const ISC_STATUS* status) |
no test coverage detected