rocksdb/db_stress_tool
Peter Dillinger 95d226d8f5 Fix a clang analyzer report, and 'analyze' make rule (#6244)
Summary:
Clang analyzer was falsely reporting on use of txn=nullptr.
Added a new const variable so that it can properly prune impossible
control flows.

Also, 'make analyze' previously required setting USE_CLANG=1 as an
environment variable, not a make variable, or else compilation errors
like

g++: error: unrecognized command line option ‘-Wshorten-64-to-32’

Now USE_CLANG is not required for 'make analyze' (it's implied) and you
can do an incremental analysis (recompile what has changed) with
'USE_CLANG=1 make analyze_incremental'
Pull Request resolved: https://github.com/facebook/rocksdb/pull/6244

Test Plan: 'make -j24 analyze', 'make crash_test'

Differential Revision: D19225950

Pulled By: pdillinger

fbshipit-source-id: 14f4039aa552228826a2de62b2671450e0fed3cb
2019-12-24 18:46:40 -08:00
..
batched_ops_stress.cc
cf_consistency_stress.cc Revert "Generate variable length keys in db_stress (#6165)" and follow-ups (#6243) 2019-12-23 16:32:57 -08:00
CMakeLists.txt
db_stress.cc
db_stress_common.cc
db_stress_common.h Revert "Generate variable length keys in db_stress (#6165)" and follow-ups (#6243) 2019-12-23 16:32:57 -08:00
db_stress_driver.cc
db_stress_driver.h
db_stress_env_wrapper.h db_stress should not keep manifest files under checkpoint directory (#6233) 2019-12-20 22:10:06 -08:00
db_stress_gflags.cc Revert "Generate variable length keys in db_stress (#6165)" and follow-ups (#6243) 2019-12-23 16:32:57 -08:00
db_stress_listener.h db_stress: listners to implement all functions (#6197) 2019-12-20 21:47:06 -08:00
db_stress_shared_state.cc
db_stress_shared_state.h
db_stress_stat.h
db_stress_test_base.cc Add Transaction::MultiGet to db_stress (#6227) 2019-12-20 23:12:51 -08:00
db_stress_test_base.h Add Transaction::MultiGet to db_stress (#6227) 2019-12-20 23:12:51 -08:00
db_stress_tool.cc Revert "Generate variable length keys in db_stress (#6165)" and follow-ups (#6243) 2019-12-23 16:32:57 -08:00
no_batched_ops_stress.cc Fix a clang analyzer report, and 'analyze' make rule (#6244) 2019-12-24 18:46:40 -08:00