From 5d5a28a98ce287c35b45a15dbf77055811981e55 Mon Sep 17 00:00:00 2001 From: Siying Dong Date: Tue, 13 Jun 2017 04:51:46 -0700 Subject: [PATCH] Fix Clang release build broken by 5582123dee8426a5191dfd5e846cea8c676c793c Summary: 5582123dee8426a5191dfd5e846cea8c676c793c broken CLANG release build because of an unexpected change. Fix it. Closes https://github.com/facebook/rocksdb/pull/2443 Differential Revision: D5236297 Pulled By: siying fbshipit-source-id: 1b410adf13ded149c53e8235e9ea9f3130fb5403 --- db/version_set.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/db/version_set.cc b/db/version_set.cc index cfd905c34..584f04386 100644 --- a/db/version_set.cc +++ b/db/version_set.cc @@ -228,7 +228,9 @@ class FilePicker { unsigned int hit_file_level_; int32_t search_left_bound_; int32_t search_right_bound_; +#ifndef NDEBUG std::vector* files_; +#endif autovector* level_files_brief_; bool search_ended_; bool is_hit_file_last_in_level_;