rocksdb/examples
Andres Notzli 09d982f9e0 Fix compact_files_example
Summary:
See task #7983654. The example was triggering an assert in compaction job
because the compaction was not marked as manual. With this patch,
CompactionPicker::FormCompaction() marks compactions as manual. This patch
also fixes a couple of typos, adds optimistic_transaction_example to
.gitignore and librocksdb as a dependency for examples. Adding librocksdb as
a dependency makes sure that the examples are built with the latest changes
in librocksdb.

Test Plan: make clean && cd examples && make all && ./compact_files_example

Reviewers: rven, sdong, anthony, igor, yhchiang

Reviewed By: yhchiang

Subscribers: dhruba, leveldb

Differential Revision: https://reviews.facebook.net/D45117
2015-08-25 12:29:44 -07:00
..
.gitignore Fix compact_files_example 2015-08-25 12:29:44 -07:00
c_simple_example.c fix typo in c_simple_example 2015-05-22 16:13:11 -07:00
column_families_example.cc
compact_files_example.cc Fix compact_files_example 2015-08-25 12:29:44 -07:00
Makefile Fix compact_files_example 2015-08-25 12:29:44 -07:00
optimistic_transaction_example.cc Pessimistic Transactions 2015-08-11 17:52:23 -07:00
README.md
simple_example.cc
transaction_example.cc Pessimistic Transactions 2015-08-11 17:52:23 -07:00

Compile RocksDB first by executing make static_lib in parent dir