mirror of
https://github.com/facebook/rocksdb.git
synced 2024-11-25 22:44:05 +00:00
fix valgrind init complaint
Summary: Closes https://github.com/facebook/rocksdb/pull/2549 Differential Revision: D5386307 Pulled By: maysamyabandeh fbshipit-source-id: 3032c95c54755053b6450765ec4dacbecb734f9d
This commit is contained in:
parent
657df29eaf
commit
b5fb85ec51
|
@ -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…
Reference in a new issue