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

Function API_ROUTINE isc_array_lookup_desc

src/yvalve/why.cpp:1610–1629  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1608
1609
1610ISC_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.

Callers

nothing calls this directly

Calls 3

translateHandleFunction · 0.85
iscArrayLookupDescImplFunction · 0.85
stuffExceptionMethod · 0.45

Tested by

no test coverage detected