fix the error message in debug mode

Summary:

my fix patch introduced a new error in debug mode.

Test Plan:

`make` and `make release`
main
Kai Liu 11 years ago
parent 39c14891b6
commit a1d38a41fd
  1. 2
      db/memtablelist.cc

@ -98,7 +98,7 @@ Status MemTableList::InstallMemtableFlushResults(
// flush was sucessful
for (size_t i = 0; i < mems.size(); ++i) {
// All the edits are associated with the first memtable of this batch.
assert(i == 0 || m->GetEdits()->NumEntries() == 0);
assert(i == 0 || mems[i]->GetEdits()->NumEntries() == 0);
mems[i]->flush_completed_ = true;
mems[i]->file_number_ = file_number;

Loading…
Cancel
Save