diff --git a/db/dbformat.h b/db/dbformat.h index 27a082284..1c86b127a 100644 --- a/db/dbformat.h +++ b/db/dbformat.h @@ -280,7 +280,7 @@ class IterKey { delete[] key_; } key_ = space_; - buf_size_ = sizeof(buf_size_); + buf_size_ = sizeof(space_); key_size_ = 0; }