| 1767 | |
| 1768 | |
| 1769 | static bool isConnectionBrokenError(FbStatusVector* status) |
| 1770 | { |
| 1771 | const ISC_STATUS code = status->getErrors()[1]; |
| 1772 | switch (code) |
| 1773 | { |
| 1774 | case isc_shutdown: |
| 1775 | case isc_att_shutdown: |
| 1776 | case isc_bad_db_handle: |
| 1777 | return true; |
| 1778 | |
| 1779 | default: |
| 1780 | return fb_utils::isNetworkError(code); |
| 1781 | } |
| 1782 | } |
| 1783 | |
| 1784 | |
| 1785 | static void parseSQLDA(XSQLDA* xsqlda, UCharBuffer& buff, Firebird::Array<dsc> &descs) |
no test coverage detected