| 313 | } |
| 314 | |
| 315 | bool IscConnection::validate(Jrd::thread_db* tdbb) |
| 316 | { |
| 317 | if (!m_handle) |
| 318 | return false; |
| 319 | |
| 320 | FbLocalStatus status; |
| 321 | |
| 322 | EngineCallbackGuard guard(tdbb, *this, FB_FUNCTION); |
| 323 | |
| 324 | const unsigned char info[] = {isc_info_attachment_id, isc_info_end}; |
| 325 | unsigned char buff[32]; |
| 326 | |
| 327 | return m_iscProvider.isc_database_info(&status, &m_handle, |
| 328 | sizeof(info), info, sizeof(buff), buff) == 0; |
| 329 | } |
| 330 | |
| 331 | Blob* IscConnection::createBlob() |
| 332 | { |
no test coverage detected