rocksdb/examples
Cheng Chang c0983d0691 Add asserts in transaction example (#6055)
Summary:
The intention of the example for read committed is clearer with these added asserts.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/6055

Test Plan: `cd examples && make transaction_example && ./transaction_example`

Differential Revision: D18621830

Pulled By: riversand963

fbshipit-source-id: a94b08c5958b589049409ee4fc4d6799e5cbef79
2019-11-20 14:18:51 -08:00
..
.gitignore Support for single-primary, multi-secondary instances (#4899) 2019-03-26 16:45:31 -07:00
c_simple_example.c Change RocksDB License 2017-07-15 16:11:23 -07:00
column_families_example.cc Change RocksDB License 2017-07-15 16:11:23 -07:00
compact_files_example.cc Change RocksDB License 2017-07-15 16:11:23 -07:00
compaction_filter_example.cc Replace dynamic_cast<> 2017-07-28 16:27:16 -07:00
Makefile Support for single-primary, multi-secondary instances (#4899) 2019-03-26 16:45:31 -07:00
multi_processes_example.cc Apply formatter to recent 200+ commits. (#5830) 2019-09-20 12:04:26 -07:00
optimistic_transaction_example.cc Change RocksDB License 2017-07-15 16:11:23 -07:00
options_file_example.cc Change RocksDB License 2017-07-15 16:11:23 -07:00
README.md Improve examples/README.md 2015-12-16 16:27:37 +01:00
rocksdb_option_file_example.ini Refactor trimming logic for immutable memtables (#5022) 2019-08-23 13:55:34 -07:00
simple_example.cc Pinnableslice examples and blog post 2017-08-24 12:26:07 -07:00
transaction_example.cc Add asserts in transaction example (#6055) 2019-11-20 14:18:51 -08:00

  1. Compile RocksDB first by executing make static_lib in parent dir
  2. Compile all examples: cd examples/; make all