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

Method write

src/jrd/extds/InternalDS.cpp:831–844  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

829}
830
831void InternalBlob::write(thread_db* tdbb, const UCHAR* buff, USHORT len)
832{
833 fb_assert(m_blob);
834
835 FbLocalStatus status;
836
837 {
838 EngineCallbackGuard guard(tdbb, m_connection, FB_FUNCTION);
839 m_blob->putSegment(&status, len, buff);
840 }
841
842 if (status->getState() & IStatus::STATE_ERRORS)
843 m_connection.raise(&status, tdbb, "JBlob::putSegment");
844}
845
846void InternalBlob::close(thread_db* tdbb)
847{

Callers

nothing calls this directly

Calls 3

putSegmentMethod · 0.45
getStateMethod · 0.45
raiseMethod · 0.45

Tested by

no test coverage detected