MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / API_ROUTINE isc_array_lookup_bounds

Function API_ROUTINE isc_array_lookup_bounds

src/yvalve/why.cpp:1588–1607  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1586
1587
1588ISC_STATUS API_ROUTINE isc_array_lookup_bounds(ISC_STATUS* userStatus, FB_API_HANDLE* dbHandle, FB_API_HANDLE* traHandle,
1589 const SCHAR* relationName, const SCHAR* fieldName, ISC_ARRAY_DESC* desc)
1590{
1591 StatusVector status(userStatus);
1592 CheckStatusWrapper statusWrapper(&status);
1593
1594 try
1595 {
1596 RefPtr<YAttachment> attachment(translateHandle(attachments, dbHandle));
1597 RefPtr<YTransaction> transaction(translateHandle(transactions, traHandle));
1598
1599 iscArrayLookupBoundsImpl(attachment, transaction, relationName, fieldName, desc);
1600 }
1601 catch (const Exception& e)
1602 {
1603 e.stuffException(&statusWrapper);
1604 }
1605
1606 return status[1];
1607}
1608
1609
1610ISC_STATUS API_ROUTINE isc_array_lookup_desc(ISC_STATUS* userStatus, FB_API_HANDLE* dbHandle, FB_API_HANDLE* traHandle,

Callers

nothing calls this directly

Calls 3

translateHandleFunction · 0.85
iscArrayLookupBoundsImplFunction · 0.85
stuffExceptionMethod · 0.45

Tested by

no test coverage detected