MCPcopy Create free account
hub / github.com/RedisGraph/RedisGraph / Record_TransferEntries

Function Record_TransferEntries

src/execution_plan/record.c:143–155  ·  view source on GitHub ↗

merge entries from `from` into `to`, transfer ownership if transfer_ownership is on

Source from the content-addressed store, hash-verified

141// merge entries from `from` into `to`, transfer ownership if transfer_ownership
142// is on
143void Record_TransferEntries
144(
145 Record *to, // destination record
146 Record from, // src record
147 bool transfer_ownership // transfer ownership of the record to dest or not
148) {
149 uint len = Record_length(from);
150 for(uint i = 0; i < len; i++) {
151 if(from->entries[i].type != REC_TYPE_UNKNOWN) {
152 _RecordPropagateEntry(*to, from, i, transfer_ownership);
153 }
154 }
155}
156
157RecordEntryType Record_GetType
158(

Callers 2

_PullFromStreamsFunction · 0.85
CartesianProductConsumeFunction · 0.85

Calls 2

Record_lengthFunction · 0.85
_RecordPropagateEntryFunction · 0.85

Tested by

no test coverage detected