summaryrefslogtreecommitdiff
path: root/db/version_set.h
diff options
context:
space:
mode:
authorDavid Grogan <dgrogan@chromium.org>2013-01-07 13:17:43 -0800
committerDavid Grogan <dgrogan@chromium.org>2013-01-07 13:17:43 -0800
commitd84c825a70a843bb107de8b732cb79e584cefd17 (patch)
treee6f4a43027dcf8cb224e7c58ab563187fd73b6b9 /db/version_set.h
parentea2e9195fc241c8fe9f329679d7a424345c68c7b (diff)
downloadleveldb-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.h2
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_;