rocksdb/options
sdong 594e815e32 Make clang analyze happy with options_test (#6398)
Summary:
clang analysis shows following warning:

options/options_test.cc:1554:24: warning: The left operand of '-' is a garbage value
            (file_size - 1) / readahead_size + 1);
             ~~~~~~~~~ ^

Explicitly initialize file_size and add an assertion to make clang analysis happy.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/6398

Test Plan: Run "make analysis" and see the warning goes away.

Differential Revision: D19819662

fbshipit-source-id: 1589ea91c0c8f78242538f01448e4ad0e5fbc219
2020-02-10 15:50:25 -08:00
..
cf_options.cc Introduce a new storage specific Env API (#5761) 2019-12-13 14:48:41 -08:00
cf_options.h Introduce a new storage specific Env API (#5761) 2019-12-13 14:48:41 -08:00
db_options.cc Add an option to prevent DB::Open() from querying sizes of all sst files (#6353) 2020-02-04 01:27:26 -08:00
db_options.h Add an option to prevent DB::Open() from querying sizes of all sst files (#6353) 2020-02-04 01:27:26 -08:00
options_helper.cc Add an option to prevent DB::Open() from querying sizes of all sst files (#6353) 2020-02-04 01:27:26 -08:00
options_helper.h Option string/map/file can set env from object registry (#5237) 2019-04-25 11:35:09 -07:00
options_parser.cc Try to fix some analysis failures 2020-02-10 13:37:14 -08:00
options_parser.h Allow readahead when reading option files. (#6372) 2020-02-07 15:18:26 -08:00
options_sanity_check.cc Change RocksDB License 2017-07-15 16:11:23 -07:00
options_sanity_check.h Change RocksDB License 2017-07-15 16:11:23 -07:00
options_settable_test.cc Add an option to prevent DB::Open() from querying sizes of all sst files (#6353) 2020-02-04 01:27:26 -08:00
options_test.cc Make clang analyze happy with options_test (#6398) 2020-02-10 15:50:25 -08:00
options.cc Add ReadOptions.auto_prefix_mode (#6314) 2020-01-28 14:44:05 -08:00