Provide information on database object.
| 2041 | |
| 2042 | // Provide information on database object. |
| 2043 | ISC_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. |
nothing calls this directly
no test coverage detected