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

Method nullify

src/jrd/Record.h:80–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78 }
79
80 void nullify()
81 {
82 // Zero the record buffer and initialize all fields to NULLs
83 const size_t null_bytes = (m_format->fmt_count + 7) >> 3;
84 memset(getData(), 0xFF, null_bytes);
85 memset(getData() + null_bytes, 0, getLength() - null_bytes);
86
87 // Record has real NULLs now, so clear the "fake-nulls" flag
88 m_fake_nulls = false;
89 }
90
91 PageStack& getPrecedence()
92 {

Callers 11

storeMethod · 0.80
TimeZoneSnapshotMethod · 0.80
EXE_execute_triggersFunction · 0.80
getRecordsMethod · 0.80
MonitoringSnapshotMethod · 0.80
getListMethod · 0.80
listMethod · 0.80
getRecordsMethod · 0.80
getListMethod · 0.80
internalGetRecordMethod · 0.80
mapDataMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected