revision-id: d4547e0efee2c44adfd81a92c793f20a9be78729 (fb-prod8-202009-63-gd4547e0efee) parent(s): a97e78ac2e112654ed5161962ad79b117bcffabb author: Sergei Petrunia committer: Sergei Petrunia timestamp: 2021-02-02 00:09:35 +0300 message: Do initialize Rdb_transaction::m_saved_snapshot --- storage/rocksdb/ha_rocksdb.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/rocksdb/ha_rocksdb.cc b/storage/rocksdb/ha_rocksdb.cc index 92f96c464f8..2f0902e4129 100644 --- a/storage/rocksdb/ha_rocksdb.cc +++ b/storage/rocksdb/ha_rocksdb.cc @@ -2866,7 +2866,7 @@ class Rdb_transaction { bool m_stmt_ignores_snapshot = false; /* Snapshot-ignore mode will put away m_reads_opts.snapshot here: */ - const rocksdb::Snapshot *m_saved_snapshot; + const rocksdb::Snapshot *m_saved_snapshot= nullptr; public: