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

Function API_ROUTINE isc_database_info

src/yvalve/why.cpp:2043–2061  ·  view source on GitHub ↗

Provide information on database object.

Source from the content-addressed store, hash-verified

2041
2042// Provide information on database object.
2043ISC_STATUS API_ROUTINE isc_database_info(ISC_STATUS* userStatus, isc_db_handle* handle,
2044 SSHORT itemLength, const SCHAR* items, SSHORT bufferLength, SCHAR* buffer)
2045{
2046 StatusVector status(userStatus);
2047 CheckStatusWrapper statusWrapper(&status);
2048
2049 try
2050 {
2051 RefPtr<YAttachment> attachment(translateHandle(attachments, handle));
2052 attachment->getInfo(&statusWrapper, itemLength, reinterpret_cast<const UCHAR*>(items),
2053 bufferLength, reinterpret_cast<UCHAR*>(buffer));
2054 }
2055 catch (const Exception& e)
2056 {
2057 e.stuffException(&statusWrapper);
2058 }
2059
2060 return status[1];
2061}
2062
2063
2064// Do meta-data update.

Callers

nothing calls this directly

Calls 3

translateHandleFunction · 0.85
getInfoMethod · 0.45
stuffExceptionMethod · 0.45

Tested by

no test coverage detected