| 162 | } |
| 163 | |
| 164 | void UndoBuffer::commit(transaction_t commitTS) const { |
| 165 | UndoBufferIterator iterator{*this}; |
| 166 | iterator.iterate([&](UndoRecordType entryType, uint8_t const* entry) { |
| 167 | commitRecord(entryType, entry, commitTS); |
| 168 | }); |
| 169 | } |
| 170 | |
| 171 | void UndoBuffer::rollback(ClientContext* context) const { |
| 172 | UndoBufferIterator iterator{*this}; |