rocksdb/options
Maysam Yabandeh 0213990b3a Move static variables out of the header file
Summary:
Static variables in header files will be instantiated in every file that includes the header file. This patch moves some of them from options_helper.h to its .cc files. It also moves the static variable out of the offset_of since the template function could also lead to multiple instantiation perhaps due to inlining.

Fixes https://github.com/facebook/rocksdb/issues/3176
Closes https://github.com/facebook/rocksdb/pull/3178

Differential Revision: D6363794

Pulled By: maysamyabandeh

fbshipit-source-id: d0a07f061b4d992ab4e0de2706e622131d258fdd
2017-11-17 17:12:27 -08:00
..
cf_options.cc Make DBOption compaction_readahead_size dynamic 2017-11-16 17:57:25 -08:00
cf_options.h Make DBOption compaction_readahead_size dynamic 2017-11-16 17:57:25 -08:00
db_options.cc Make DBOption compaction_readahead_size dynamic 2017-11-16 17:57:25 -08:00
db_options.h Make DBOption compaction_readahead_size dynamic 2017-11-16 17:57:25 -08:00
options_helper.cc Move static variables out of the header file 2017-11-17 17:12:27 -08:00
options_helper.h Move static variables out of the header file 2017-11-17 17:12:27 -08:00
options_parser.cc Make FIFO compaction options dynamically configurable 2017-10-19 15:26:36 -07:00
options_parser.h WritePrepared Txn: Optimize for recoverable state 2017-11-01 17:26:46 -07: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 Move static variables out of the header file 2017-11-17 17:12:27 -08:00
options_test.cc Allow upgrades from nullptr to some merge operator 2017-10-04 09:57:23 -07:00
options.cc Added support for differential snapshots 2017-11-01 18:56:43 -07:00