MCPcopy Create free account
hub / github.com/LadybugDB/ladybug / checkpointDataTypesNoLock

Method checkpointDataTypesNoLock

src/storage/table/node_group.cpp:425–433  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

423}
424
425void NodeGroup::checkpointDataTypesNoLock(const NodeGroupCheckpointState& state) {
426 std::vector<LogicalType> checkpointedTypes;
427 for (auto i = 0u; i < state.columnIDs.size(); i++) {
428 auto columnID = state.columnIDs[i];
429 DASSERT(columnID < dataTypes.size());
430 checkpointedTypes.push_back(dataTypes[columnID].copy());
431 }
432 dataTypes = std::move(checkpointedTypes);
433}
434
435void NodeGroup::scanCommittedUpdatesForColumn(
436 std::vector<ChunkCheckpointState>& chunkCheckpointStates, MemoryManager& memoryManager,

Callers

nothing calls this directly

Calls 3

sizeMethod · 0.45
push_backMethod · 0.45
copyMethod · 0.45

Tested by

no test coverage detected