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

Method addColumn

src/storage/table/node_group.cpp:370–378  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

368}
369
370void NodeGroup::addColumn(TableAddColumnState& addColumnState, PageAllocator* pageAllocator,
371 ColumnStats* newColumnStats) {
372 dataTypes.push_back(addColumnState.propertyDefinition.getType().copy());
373 const auto lock = chunkedGroups.lock();
374 for (auto& chunkedGroup : chunkedGroups.getAllGroups(lock)) {
375 chunkedGroup->addColumn(mm, addColumnState, enableCompression, pageAllocator,
376 newColumnStats);
377 }
378}
379
380void NodeGroup::rollbackInsert(row_idx_t startRow) {
381 const auto lock = chunkedGroups.lock();

Callers

nothing calls this directly

Calls 4

push_backMethod · 0.45
copyMethod · 0.45
getTypeMethod · 0.45
lockMethod · 0.45

Tested by

no test coverage detected