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

Method write

src/jrd/extds/IscDS.cpp:809–821  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

807}
808
809void IscBlob::write(thread_db* tdbb, const UCHAR* buff, USHORT len)
810{
811 fb_assert(m_handle);
812
813 FbLocalStatus status;
814 {
815 EngineCallbackGuard guard(tdbb, m_iscConnection, FB_FUNCTION);
816 m_iscProvider.isc_put_segment(&status, &m_handle, len, reinterpret_cast<const SCHAR*>(buff));
817 }
818 if (status->getState() & IStatus::STATE_ERRORS) {
819 m_iscConnection.raise(&status, tdbb, "isc_put_segment");
820 }
821}
822
823void IscBlob::close(thread_db* tdbb)
824{

Callers 1

putExtBlobMethod · 0.45

Calls 3

isc_put_segmentMethod · 0.80
getStateMethod · 0.45
raiseMethod · 0.45

Tested by

no test coverage detected