revision-id: 2d97925f35970781a649ab312a7330fdb4446312 (v5.8-1900-g2d97925f3) parent(s): 5db4c985188654955350b1417aedb2b6f92774d8 author: Sergei Petrunia committer: Sergei Petrunia timestamp: 2019-12-01 23:40:05 +0300 message: Fix a typo in PessimisticTransaction::~PessimisticTransaction --- utilities/transactions/pessimistic_transaction.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utilities/transactions/pessimistic_transaction.cc b/utilities/transactions/pessimistic_transaction.cc index 0f25b13d5..d4b167aee 100644 --- a/utilities/transactions/pessimistic_transaction.cc +++ b/utilities/transactions/pessimistic_transaction.cc @@ -333,7 +333,7 @@ void PessimisticTransaction::Initialize(const TransactionOptions& txn_options) { } PessimisticTransaction::~PessimisticTransaction() { - txn_db_impl_->UnLock(this, &GetTrackedKeys()/*, all_keys_hint=true*/); + txn_db_impl_->UnLock(this, &GetTrackedKeys(), /*all_keys_hint=*/true); if (expiration_time_ > 0) { txn_db_impl_->RemoveExpirableTransaction(txn_id_); }