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

Method close

src/jrd/extds/InternalDS.cpp:846–861  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

844}
845
846void InternalBlob::close(thread_db* tdbb)
847{
848 fb_assert(m_blob);
849 FbLocalStatus status;
850
851 {
852 EngineCallbackGuard guard(tdbb, m_connection, FB_FUNCTION);
853 m_blob->close(&status);
854 m_blob.clear();
855 }
856
857 if (status->getState() & IStatus::STATE_ERRORS)
858 m_connection.raise(&status, tdbb, "JBlob::close");
859
860 fb_assert(!m_blob);
861}
862
863void InternalBlob::cancel(thread_db* tdbb)
864{

Callers 2

doOpenMethod · 0.45
doCloseMethod · 0.45

Calls 3

clearMethod · 0.45
getStateMethod · 0.45
raiseMethod · 0.45

Tested by

no test coverage detected