mirror of
https://github.com/google/leveldb.git
synced 2025-06-11 12:43:19 +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, first->batch);
|
||||||
}
|
}
|
||||||
WriteBatchInternal::Append(result, w->batch);
|
WriteBatchInternal::Append(result, w->batch);
|
||||||
|
} else {
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
*last_writer = w;
|
*last_writer = w;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user