Fix build

Summary: Build broken by 6ede020dc4

Test Plan: make all

Reviewers: sdong

Subscribers: dhruba, leveldb

Differential Revision: https://reviews.facebook.net/D37689
This commit is contained in:
Igor Canadi 2015-04-25 21:09:45 -07:00
parent 93ab1473dc
commit 4961a9622c

View File

@ -1063,7 +1063,7 @@ class StressTest {
} }
auto thread_pool_size_base = FLAGS_max_background_compactions; auto thread_pool_size_base = FLAGS_max_background_compactions;
auto thread_pool_size_var = FLAGS_compaction_thread_pool_varations; auto thread_pool_size_var = FLAGS_compaction_thread_pool_variations;
int new_thread_pool_size = int new_thread_pool_size =
thread_pool_size_base - thread_pool_size_var + thread_pool_size_base - thread_pool_size_var +
thread->rand.Next() % (thread_pool_size_var * 2 + 1); thread->rand.Next() % (thread_pool_size_var * 2 + 1);