Skip to content

Commit

Permalink
fix compiling for debug version
Browse files Browse the repository at this point in the history
  • Loading branch information
dwing4g committed Dec 20, 2018
1 parent 872c563 commit f1b99aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/write_batch.cc
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ void WriteBatchInternal::SetContents(WriteBatch* b, const Slice& contents) {

void WriteBatchInternal::Append(WriteBatch* dst, const WriteBatch* src) {
SetCount(dst, Count(dst) + Count(src));
assert(src->rep_.size() >= kHeader);
assert(src->size_ >= kHeader);
Append(dst, src->buf_ + kHeader, src->size_ - kHeader);
}

Expand Down

0 comments on commit f1b99aa

Please sign in to comment.