diff options
Diffstat (limited to 'db/write_batch.cc')
-rw-r--r-- | db/write_batch.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/db/write_batch.cc b/db/write_batch.cc index 7f8f3e8..40eed2e 100644 --- a/db/write_batch.cc +++ b/db/write_batch.cc @@ -112,6 +112,10 @@ void WriteBatch::Delete(const Slice& key) { PutLengthPrefixedSlice(&rep_, key); } +void WriteBatch::Append(const WriteBatch &source) { + WriteBatchInternal::Append(this, &source); +} + namespace { class MemTableInserter : public WriteBatch::Handler { public: |