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

Method commitVectorUpdateInfo

src/storage/undo_buffer.cpp:224–229  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

222}
223
224void UndoBuffer::commitVectorUpdateInfo(const uint8_t* record, transaction_t commitTS) {
225 auto& undoRecord = *reinterpret_cast<VectorUpdateRecord const*>(record);
226 DASSERT(undoRecord.updateInfo);
227 DASSERT(undoRecord.vectorUpdateInfo);
228 undoRecord.updateInfo->commit(undoRecord.vectorIdx, undoRecord.vectorUpdateInfo, commitTS);
229}
230
231void UndoBuffer::rollbackRecord(ClientContext* context, const UndoRecordType recordType,
232 const uint8_t* record) {

Callers

nothing calls this directly

Calls 1

commitMethod · 0.45

Tested by

no test coverage detected