fix valgrind init complaint

Summary: Closes https://github.com/facebook/rocksdb/pull/2549

Differential Revision: D5386307

Pulled By: maysamyabandeh

fbshipit-source-id: 3032c95c54755053b6450765ec4dacbecb734f9d
main
Maysam Yabandeh 7 years ago committed by Facebook Github Bot
parent 657df29eaf
commit b5fb85ec51
  1. 3
      util/transaction_test_util.cc

@ -30,7 +30,8 @@ RandomTransactionInserter::RandomTransactionInserter(
write_options_(write_options),
read_options_(read_options),
num_keys_(num_keys),
num_sets_(num_sets) {}
num_sets_(num_sets),
txn_id_(0) {}
RandomTransactionInserter::~RandomTransactionInserter() {
if (txn_ != nullptr) {

Loading…
Cancel
Save