BuildBatchGroup no longer skip NULL batch, for TEST_CompactMemTable

This commit is contained in:
bluebore 2015-06-05 19:03:03 +08:00
parent 77948e7eec
commit ae8a46c492

View File

@ -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;
}