| 103 | } |
| 104 | |
| 105 | void WriteBatch::Delete(const Slice& key) { |
| 106 | WriteBatchInternal::SetCount(this, WriteBatchInternal::Count(this) + 1); |
| 107 | rep_.push_back(static_cast<char>(kTypeDeletion)); |
| 108 | PutLengthPrefixedSlice(&rep_, key); |
| 109 | } |
| 110 | |
| 111 | void WriteBatch::Append(const WriteBatch& source) { |
| 112 | WriteBatchInternal::Append(this, &source); |
no test coverage detected