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

Method read

src/jrd/extds/InternalDS.cpp:813–829  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

811}
812
813USHORT InternalBlob::read(thread_db* tdbb, UCHAR* buff, USHORT len)
814{
815 fb_assert(m_blob);
816
817 unsigned result = 0;
818 FbLocalStatus status;
819
820 {
821 EngineCallbackGuard guard(tdbb, m_connection, FB_FUNCTION);
822 m_blob->getSegment(&status, len, buff, &result);
823 }
824
825 if (status->getState() & IStatus::STATE_ERRORS)
826 m_connection.raise(&status, tdbb, "JBlob::getSegment");
827
828 return result;
829}
830
831void InternalBlob::write(thread_db* tdbb, const UCHAR* buff, USHORT len)
832{

Callers

nothing calls this directly

Calls 3

getSegmentMethod · 0.45
getStateMethod · 0.45
raiseMethod · 0.45

Tested by

no test coverage detected