fix build failure

Summary: missed default value during merge

Test Plan: ./db_test

Reviewers: igor, sdong, yhchiang

Reviewed By: yhchiang

Subscribers: leveldb

Differential Revision: https://reviews.facebook.net/D24975
This commit is contained in:
Lei Jin 2014-10-16 17:33:09 -07:00
parent d6c8dba727
commit 274dc81c92

View File

@ -8681,7 +8681,7 @@ TEST(DBTest, DynamicCompactionOptions) {
env_->SetBackgroundThreads(1, Env::HIGH);
DestroyAndReopen(&options);
auto gen_l0_kb = [this](int start, int size, int stride) {
auto gen_l0_kb = [this](int start, int size, int stride = 1) {
Random rnd(301);
for (int i = 0; i < size; i++) {
ASSERT_OK(Put(Key(start + stride * i), RandomString(&rnd, 1024)));