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

Method append

src/common/classes/tree.h:268–279  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

266 }
267
268 void append(const BePlusTree& from)
269 {
270 // This is slow approach especially when used for assignment.
271 // Optimize it when need arises.
272 ConstAccessor accessor(&from);
273 if (accessor.getFirst())
274 {
275 do {
276 add(accessor.current());
277 } while (accessor.getNext());
278 }
279 }
280
281private:
282 class NodeList;

Callers

nothing calls this directly

Calls 4

addFunction · 0.50
getFirstMethod · 0.45
currentMethod · 0.45
getNextMethod · 0.45

Tested by

no test coverage detected