From 91b5feb37b36433fde5a94f81e691427f9b74f69 Mon Sep 17 00:00:00 2001 From: Siying Dong Date: Thu, 23 Mar 2017 18:06:44 -0700 Subject: [PATCH] Fix Windows Build broken by a recent commit Summary: Closes https://github.com/facebook/rocksdb/pull/2032 Differential Revision: D4766260 Pulled By: siying fbshipit-source-id: 415daa4 --- db/db_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/db_test.cc b/db/db_test.cc index 538f42f9a..31f422a1c 100644 --- a/db/db_test.cc +++ b/db/db_test.cc @@ -2965,7 +2965,6 @@ TEST_F(DBTest, DynamicMemtableOptions) { const uint64_t k64KB = 1 << 16; const uint64_t k128KB = 1 << 17; const uint64_t k5KB = 5 * 1024; - const int kNumPutsBeforeWaitForFlush = 64; Options options; options.env = env_; options.create_if_missing = true; @@ -2981,6 +2980,7 @@ TEST_F(DBTest, DynamicMemtableOptions) { DestroyAndReopen(options); auto gen_l0_kb = [this](int size) { + const int kNumPutsBeforeWaitForFlush = 64; Random rnd(301); for (int i = 0; i < size; i++) { ASSERT_OK(Put(Key(i), RandomString(&rnd, 1024)));