rocksdb/utilities/spatialdb
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
..
spatial_db.cc Add GPLv2 as an alternative license. 2017-04-27 18:06:12 -07:00
spatial_db_test.cc Suppress clang-analyzer false positive 2017-05-19 10:56:28 -07:00
utils.h Add GPLv2 as an alternative license. 2017-04-27 18:06:12 -07:00