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

Method write

src/jrd/Monitoring.cpp:92–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90 {}
91
92 void write(const SnapshotData::DumpRecord& record)
93 {
94 const offset_t offset = tempSpace.getSize();
95 const ULONG length = record.getLength();
96 tempSpace.write(offset, &length, sizeof(ULONG));
97 tempSpace.write(offset + sizeof(ULONG), record.getData(), length);
98 }
99
100 private:
101 TempSpace& tempSpace;

Callers

nothing calls this directly

Calls 4

getSizeMethod · 0.45
getLengthMethod · 0.45
writeMethod · 0.45
getDataMethod · 0.45

Tested by

no test coverage detected