diff --git a/db/db_test.cc b/db/db_test.cc index 0e94981d2..a8d71e2f8 100644 --- a/db/db_test.cc +++ b/db/db_test.cc @@ -2596,6 +2596,7 @@ class ChangeFilter : public CompactionFilter { const Slice& value, std::string* new_value, bool* value_changed) const override { assert(argv_ == 100); + argv_ = argv_ + 0; assert(new_value != nullptr); *new_value = NEW_VALUE; *value_changed = true;