aboutsummaryrefslogtreecommitdiff
path: root/src/leveldb/db/version_set.h
diff options
context:
space:
mode:
authorDavid Grogan <[email protected]>2013-01-07 13:17:43 -0800
committerGavin Andresen <[email protected]>2013-01-23 14:00:29 -0500
commit36311b9a194e3546006478157279383ffa624cf0 (patch)
tree10874de5669607f5c2d3f443bdc23af5aafb3f25 /src/leveldb/db/version_set.h
parentadded utility to dump leveldb files (diff)
downloaddiscoin-36311b9a194e3546006478157279383ffa624cf0.tar.xz
discoin-36311b9a194e3546006478157279383ffa624cf0.zip
Fix corruption bug found and analyzed by [email protected]
https://groups.google.com/d/msg/leveldb/Kc9JxuIUu5A/9P0N9RL4ar8J
Diffstat (limited to 'src/leveldb/db/version_set.h')
-rw-r--r--src/leveldb/db/version_set.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/leveldb/db/version_set.h b/src/leveldb/db/version_set.h
index 792899b7f..9d084fdb7 100644
--- a/src/leveldb/db/version_set.h
+++ b/src/leveldb/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_;