rocksdb/utilities/transactions
Yi Wu d746aead1a Suppress clang-analyzer false positive
Summary:
Fixing two types of clang-analyzer false positives:
* db is deleted and then reopen, and clang-analyzer thinks we are reusing the pointer after it has been deleted. Adding asserts to hint clang-analyzer the pointer is recreated.
* ParsedInternalKey is (intentionally) uninitialized. Initialize the struct only when clang-analyzer is running.
Closes https://github.com/facebook/rocksdb/pull/2334

Differential Revision: D5093801

Pulled By: yiwu-arbug

fbshipit-source-id: f51355382098eb3da5ab9f64e094c6d03e6bdf7d
2017-05-19 10:56:28 -07:00
..
optimistic_transaction_db_impl.cc Add GPLv2 as an alternative license. 2017-04-27 18:06:12 -07:00
optimistic_transaction_db_impl.h Blob storage pr 2017-05-10 15:14:44 -07:00
optimistic_transaction_impl.cc Add GPLv2 as an alternative license. 2017-04-27 18:06:12 -07:00
optimistic_transaction_impl.h Implement non-exclusive locks 2016-12-05 17:39:17 -08:00
optimistic_transaction_test.cc Suppress clang-analyzer false positive 2017-05-19 10:56:28 -07:00
transaction_base.cc Fix shared lock upgrades 2017-04-10 16:06:00 -07:00
transaction_base.h Fix shared lock upgrades 2017-04-10 16:06:00 -07:00
transaction_db_impl.cc Add GPLv2 as an alternative license. 2017-04-27 18:06:12 -07:00
transaction_db_impl.h Add GPLv2 as an alternative license. 2017-04-27 18:06:12 -07:00
transaction_db_mutex_impl.cc Add GPLv2 as an alternative license. 2017-04-27 18:06:12 -07:00
transaction_db_mutex_impl.h Add GPLv2 as an alternative license. 2017-04-27 18:06:12 -07:00
transaction_impl.cc Add GPLv2 as an alternative license. 2017-04-27 18:06:12 -07:00
transaction_impl.h Implement non-exclusive locks 2016-12-05 17:39:17 -08:00
transaction_lock_mgr.cc Add GPLv2 as an alternative license. 2017-04-27 18:06:12 -07:00
transaction_lock_mgr.h Add GPLv2 as an alternative license. 2017-04-27 18:06:12 -07:00
transaction_test.cc Suppress clang-analyzer false positive 2017-05-19 10:56:28 -07:00
transaction_util.cc Add GPLv2 as an alternative license. 2017-04-27 18:06:12 -07:00
transaction_util.h Fix shared lock upgrades 2017-04-10 16:06:00 -07:00