rocksdb/utilities/transactions
Siying Dong 21696ba502 Replace dynamic_cast<>
Summary:
Replace dynamic_cast<> so that users can choose to build with RTTI off, so that they can save several bytes per object, and get tiny more memory available.
Some nontrivial changes:
1. Add Comparator::GetRootComparator() to get around the internal comparator hack
2. Add the two experiemental functions to DB
3. Add TableFactory::GetOptionString() to avoid unnecessary casting to get the option string
4. Since 3 is done, move the parsing option functions for table factory to table factory files too, to be symmetric.
Closes https://github.com/facebook/rocksdb/pull/2645

Differential Revision: D5502723

Pulled By: siying

fbshipit-source-id: fd13cec5601cf68a554d87bfcf056f2ffa5fbf7c
2017-07-28 16:27:16 -07:00
..
optimistic_transaction_db_impl.cc Change RocksDB License 2017-07-15 16:11:23 -07:00
optimistic_transaction_db_impl.h Change RocksDB License 2017-07-15 16:11:23 -07:00
optimistic_transaction_impl.cc Replace dynamic_cast<> 2017-07-28 16:27:16 -07:00
optimistic_transaction_impl.h Revert "comment out unused parameters" 2017-07-21 18:26:26 -07:00
optimistic_transaction_test.cc Change RocksDB License 2017-07-15 16:11:23 -07:00
transaction_base.cc Change RocksDB License 2017-07-15 16:11:23 -07:00
transaction_base.h Revert "comment out unused parameters" 2017-07-21 18:26:26 -07:00
transaction_db_impl.cc Replace dynamic_cast<> 2017-07-28 16:27:16 -07:00
transaction_db_impl.h Change RocksDB License 2017-07-15 16:11:23 -07:00
transaction_db_mutex_impl.cc Change RocksDB License 2017-07-15 16:11:23 -07:00
transaction_db_mutex_impl.h Change RocksDB License 2017-07-15 16:11:23 -07:00
transaction_impl.cc Replace dynamic_cast<> 2017-07-28 16:27:16 -07:00
transaction_impl.h Revert "comment out unused parameters" 2017-07-21 18:26:26 -07:00
transaction_lock_mgr.cc Replace dynamic_cast<> 2017-07-28 16:27:16 -07:00
transaction_lock_mgr.h Change RocksDB License 2017-07-15 16:11:23 -07:00
transaction_test.cc Lower num of iterations in DeadlockCycle test 2017-07-25 11:42:26 -07:00
transaction_util.cc Change RocksDB License 2017-07-15 16:11:23 -07:00
transaction_util.h Change RocksDB License 2017-07-15 16:11:23 -07:00