Fix corruption bug found and analyzed by dhruba@gmail.com

https://groups.google.com/d/msg/leveldb/Kc9JxuIUu5A/9P0N9RL4ar8J
This commit is contained in:
David Grogan
2013-01-07 13:17:43 -08:00
committed by Gavin Andresen
parent f79ddf24a9
commit 36311b9a19
5 changed files with 115 additions and 2 deletions

View File

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