]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
kv/RocksDB: Do comparisons under with_val
authorAdam C. Emerson <aemerson@redhat.com>
Mon, 20 Nov 2017 21:09:30 +0000 (16:09 -0500)
committerAdam C. Emerson <aemerson@redhat.com>
Thu, 7 Dec 2017 20:46:11 +0000 (15:46 -0500)
commitd65b89e83914fb321b4854e57430698a02ab19d8
treeffccd54ec233a0f5de3d27487382f28898cb47c3
parente4ec116abb006a6d765c73cc4f9e40708b2b88e0
kv/RocksDB: Do comparisons under with_val

Rather than making a copy on the heap just to compare it.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
src/kv/RocksDBStore.cc