| 1608 | |
| 1609 | |
| 1610 | ISC_STATUS API_ROUTINE isc_array_lookup_desc(ISC_STATUS* userStatus, FB_API_HANDLE* dbHandle, FB_API_HANDLE* traHandle, |
| 1611 | const SCHAR* relationName, const SCHAR* fieldName, ISC_ARRAY_DESC* desc) |
| 1612 | { |
| 1613 | StatusVector status(userStatus); |
| 1614 | CheckStatusWrapper statusWrapper(&status); |
| 1615 | |
| 1616 | try |
| 1617 | { |
| 1618 | RefPtr<YAttachment> attachment(translateHandle(attachments, dbHandle)); |
| 1619 | RefPtr<YTransaction> transaction(translateHandle(transactions, traHandle)); |
| 1620 | |
| 1621 | iscArrayLookupDescImpl(attachment, transaction, relationName, fieldName, desc, nullptr); |
| 1622 | } |
| 1623 | catch (const Exception& e) |
| 1624 | { |
| 1625 | e.stuffException(&statusWrapper); |
| 1626 | } |
| 1627 | |
| 1628 | return status[1]; |
| 1629 | } |
| 1630 | |
| 1631 | |
| 1632 | // Attach a database through the first subsystem that recognizes it. |
nothing calls this directly
no test coverage detected