mirror of https://github.com/facebook/rocksdb.git
8d44d792c3
Summary: Quick fixes to examples to make it easier to get familiar with RocksDB for Windows users: - Set proper temporary directory path on Windows for all examples (with C++17 we should start using std::filesystem) - Fixed typo and got rid of warnings treated as errors in multi_processes_example.cc - Get number of available cores on Windows in c_simple_example.c - Add command to remove DB directory for Windows in compaction_filter_example.cc (print error, but carry on with example upon error, because error code is returned if there is no such directory on Windows) Pull Request resolved: https://github.com/facebook/rocksdb/pull/7304 Reviewed By: jay-zhuang Differential Revision: D23450900 Pulled By: pdillinger fbshipit-source-id: 4256134deb6ae6bb267ed1bd69f814842b95f60f |
||
---|---|---|
.. | ||
.gitignore | ||
CMakeLists.txt | ||
Makefile | ||
README.md | ||
c_simple_example.c | ||
column_families_example.cc | ||
compact_files_example.cc | ||
compaction_filter_example.cc | ||
multi_processes_example.cc | ||
optimistic_transaction_example.cc | ||
options_file_example.cc | ||
rocksdb_option_file_example.ini | ||
simple_example.cc | ||
transaction_example.cc |
README.md
- Compile RocksDB first by executing
make static_lib
in parent dir - Compile all examples:
cd examples/; make all