Try to cancel an operation.
| 1792 | |
| 1793 | // Try to cancel an operation. |
| 1794 | ISC_STATUS API_ROUTINE fb_cancel_operation(ISC_STATUS* userStatus, isc_db_handle* handle, |
| 1795 | USHORT option) |
| 1796 | { |
| 1797 | StatusVector status(userStatus); |
| 1798 | CheckStatusWrapper statusWrapper(&status); |
| 1799 | |
| 1800 | try |
| 1801 | { |
| 1802 | RefPtr<YAttachment> attachment(translateHandle(attachments, handle)); |
| 1803 | attachment->cancelOperation(&statusWrapper, option); |
| 1804 | } |
| 1805 | catch (const Exception& e) |
| 1806 | { |
| 1807 | e.stuffException(&statusWrapper); |
| 1808 | } |
| 1809 | |
| 1810 | return status[1]; |
| 1811 | } |
| 1812 | |
| 1813 | |
| 1814 | // Close a blob opened either for reading or writing (creation). |
nothing calls this directly
no test coverage detected