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 cmake: do not build tests for Release build and cleanups (#5916) 2019-12-13 12:48:06 -08:00
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 Add an option to the CMake build to disable building shared libraries (#6122) 2019-12-10 15:20:50 -08:00
db_stress_common.cc crash_test to cover bottommost compression and some other changes (#6215) 2019-12-20 16:14:52 -08:00
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 crash_test to cover bottommost compression and some other changes (#6215) 2019-12-20 16:14:52 -08:00
db_stress_driver.h Break db_stress_tool.cc to a list of source files (#6134) 2019-12-08 23:51:01 -08:00
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 Add more verification to db_stress (#6173) 2019-12-20 08:49:29 -08:00
db_stress_shared_state.h Add more verification to db_stress (#6173) 2019-12-20 08:49:29 -08:00
db_stress_stat.h Break db_stress_tool.cc to a list of source files (#6134) 2019-12-08 23:51:01 -08:00
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
db_stress.cc Break db_stress_tool.cc to a list of source files (#6134) 2019-12-08 23:51:01 -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