Fix clang build
Summary: Missed this in https://reviews.facebook.net/D51633 because I didn't wait for 'make commit-prereq' to finish Test Plan: make clean && USE_CLANG=1 make -j32 all Reviewers: IslamAbdelRahman, sdong Reviewed By: sdong Subscribers: dhruba, leveldb Differential Revision: https://reviews.facebook.net/D52275
This commit is contained in:
parent
e089db40f9
commit
445d5b8c5c
@ -8056,7 +8056,7 @@ TEST_F(DBTest, OptimizeFiltersForHits) {
|
||||
MoveFilesToLevel(7 /* level */, 1 /* column family index */);
|
||||
|
||||
std::string value = Get(1, Key(0));
|
||||
int prev_cache_filter_hits =
|
||||
long prev_cache_filter_hits =
|
||||
TestGetTickerCount(options, BLOCK_CACHE_FILTER_HIT);
|
||||
value = Get(1, Key(0));
|
||||
ASSERT_EQ(prev_cache_filter_hits + 1,
|
||||
@ -8085,7 +8085,7 @@ TEST_F(DBTest, OptimizeFiltersForHits) {
|
||||
|
||||
ReopenWithColumnFamilies({"default", "mypikachu"}, options);
|
||||
|
||||
int prev_cache_filter_misses =
|
||||
long prev_cache_filter_misses =
|
||||
TestGetTickerCount(options, BLOCK_CACHE_FILTER_MISS);
|
||||
prev_cache_filter_hits = TestGetTickerCount(options, BLOCK_CACHE_FILTER_HIT);
|
||||
Get(1, Key(0));
|
||||
|
Loading…
x
Reference in New Issue
Block a user