]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/commit
Fix accidental object copy in transactions
authoragiardullo <agiardullo@fb.com>
Wed, 30 Sep 2015 00:00:16 +0000 (17:00 -0700)
committeragiardullo <agiardullo@fb.com>
Wed, 30 Sep 2015 18:37:27 +0000 (11:37 -0700)
commit8dbf5a39bd0ffa88f4aff3260941f75470c5837b
treeda12aa8a8d08fd42c56579932d8b0f728cf7cb77
parent0798a49a28b33907c62e2fc25afe319fad8992b6
Fix accidental object copy in transactions

Summary: Should have used auto& instead of auto.  Also needed to change the code a bit due to const correctness.

Test Plan: unit tests

Reviewers: sdong, igor, yoshinorim, yhchiang

Reviewed By: yhchiang

Subscribers: dhruba, leveldb

Differential Revision: https://reviews.facebook.net/D47787
utilities/transactions/transaction_base.cc
utilities/transactions/transaction_impl.cc