diff options
author | David Grogan <dgrogan@chromium.org> | 2013-01-07 13:17:43 -0800 |
---|---|---|
committer | David Grogan <dgrogan@chromium.org> | 2013-01-07 13:17:43 -0800 |
commit | d84c825a70a843bb107de8b732cb79e584cefd17 (patch) | |
tree | e6f4a43027dcf8cb224e7c58ab563187fd73b6b9 /db/version_set.h | |
parent | ea2e9195fc241c8fe9f329679d7a424345c68c7b (diff) | |
download | leveldb-d84c825a70a843bb107de8b732cb79e584cefd17.tar.gz |
Fix corruption bug found and analyzed by dhruba@gmail.comv1.9
https://groups.google.com/d/msg/leveldb/Kc9JxuIUu5A/9P0N9RL4ar8J
Diffstat (limited to 'db/version_set.h')
-rw-r--r-- | db/version_set.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/db/version_set.h b/db/version_set.h index 792899b..9d084fd 100644 --- a/db/version_set.h +++ b/db/version_set.h @@ -277,6 +277,8 @@ class VersionSet { void AppendVersion(Version* v); + bool ManifestContains(const std::string& record) const; + Env* const env_; const std::string dbname_; const Options* const options_; |