mirror of
https://github.com/google/leveldb.git
synced 2025-01-27 06:30:07 +08:00
BuildBatchGroup no longer skip NULL batch, for TEST_CompactMemTable
This commit is contained in:
parent
77948e7eec
commit
ae8a46c492
@ -1275,6 +1275,8 @@ WriteBatch* DBImpl::BuildBatchGroup(Writer** last_writer) {
|
||||
WriteBatchInternal::Append(result, first->batch);
|
||||
}
|
||||
WriteBatchInternal::Append(result, w->batch);
|
||||
} else {
|
||||
break;
|
||||
}
|
||||
*last_writer = w;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user