fixed wrong type for "allow_compaction" parameter
Summary: should be boolean, not uint64_t MSVC complains about it during compilation with error `include\rocksdb\advanced_options.h(77): warning C4800: 'uint64_t': forcing value to bool 'true' or 'false' (performance warning)` Closes https://github.com/facebook/rocksdb/pull/2487 Differential Revision: D5310685 Pulled By: siying fbshipit-source-id: 719a33b3dba4f711aa72e3f229013c188015dc86
This commit is contained in:
parent
71f5bcb730
commit
521724ba82
@ -72,7 +72,7 @@ struct CompactionOptionsFIFO {
|
||||
|
||||
CompactionOptionsFIFO() : max_table_files_size(1 * 1024 * 1024 * 1024) {}
|
||||
CompactionOptionsFIFO(uint64_t _max_table_files_size,
|
||||
uint64_t _allow_compaction)
|
||||
bool _allow_compaction)
|
||||
: max_table_files_size(_max_table_files_size),
|
||||
allow_compaction(_allow_compaction) {}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user