make field order match initialization order

main
Praveen Rao 9 years ago
parent 2938c5c137
commit 7951b9b079
  1. 4
      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) :

Loading…
Cancel
Save