From 7951b9b07979ca8f478ea16156a78da86053ffc2 Mon Sep 17 00:00:00 2001 From: Praveen Rao Date: Mon, 19 Oct 2015 17:03:01 -0700 Subject: [PATCH] make field order match initialization order --- db/db_test.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/db/db_test.cc b/db/db_test.cc index da0af1822..105fca55d 100644 --- a/db/db_test.cc +++ b/db/db_test.cc @@ -10092,12 +10092,12 @@ TEST_F(DBTest, WalFilterTest) { TEST_F(DBTest, WalFilterTestWithChangeBatch) { class ChangeBatchHandler : public WriteBatch::Handler { private: - // Whether we have already added a key to new batch - size_t m_numKeysAdded; // Batch to insert keys in WriteBatch* newWriteBatch_; // Number of keys to add in the new batch size_t m_numKeysToAddInNewBatch; + // Number of keys added to new batch + size_t m_numKeysAdded; public: ChangeBatchHandler(WriteBatch* newWriteBatch, size_t numKeysToAddInNewBatch) :