From 2208cc0196b6d297f94479d19d3d5d7fa9e1732f Mon Sep 17 00:00:00 2001 From: Manuel Ung Date: Fri, 6 Sep 2019 10:16:21 -0700 Subject: [PATCH] Fix build break in TransactionBaseImpl::TrackKey (#5771) Summary: Fix build broken in https://github.com/facebook/rocksdb/pull/5696. Pull Request resolved: https://github.com/facebook/rocksdb/pull/5771 Differential Revision: D17217665 Pulled By: lth fbshipit-source-id: 7aa84a2a9b4feb7a3ab1cab174e09276430fe042 --- utilities/transactions/transaction_base.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utilities/transactions/transaction_base.cc b/utilities/transactions/transaction_base.cc index 1f4723e54..f10c1b60f 100644 --- a/utilities/transactions/transaction_base.cc +++ b/utilities/transactions/transaction_base.cc @@ -646,7 +646,7 @@ void TransactionBaseImpl::TrackKey(TransactionKeyMap* key_map, uint32_t cfh_id, #else auto iter = cf_key_map.find(key); if (iter == cf_key_map.end()) { - auto result = cf_key_map.emplace(key, seq); + auto result = cf_key_map.emplace(key, TransactionKeyMapInfo(seq)); iter = result.first; } else if (seq < iter->second.seq) { // Now tracking this key with an earlier sequence number