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

Method setNode

src/jrd/btn.h:96–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94 }
95
96 void setNode(USHORT prefix = 0, USHORT length = 0,
97 RecordNumber recordNumber = RecordNumber(0), SLONG pageNumber = 0,
98 bool isEndBucket = false, bool isEndLevel = false)
99 {
100 this->isEndBucket = isEndBucket;
101 this->isEndLevel = isEndLevel;
102 this->prefix = prefix;
103 this->length = length;
104 this->recordNumber = recordNumber;
105 this->pageNumber = pageNumber;
106 }
107
108 USHORT getNodeSize(bool leafNode) const;
109 UCHAR* writeNode(UCHAR* pagePointer, bool leafNode, bool withData = true);

Callers 4

BTR_insertFunction · 0.80
fast_loadFunction · 0.80
garbage_collectFunction · 0.80
insert_nodeFunction · 0.80

Calls 1

RecordNumberClass · 0.85

Tested by

no test coverage detected