MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / validate

Method validate

src/jrd/extds/IscDS.cpp:315–329  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

313}
314
315bool 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
331Blob* IscConnection::createBlob()
332{

Callers 1

getConnectionMethod · 0.45

Calls 1

isc_database_infoMethod · 0.80

Tested by

no test coverage detected