fix a warning in db_test when running make release

This commit is contained in:
kailiu 2013-12-12 15:34:24 -08:00
parent e8ab1934d9
commit bc9b488e92

View file

@ -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;