diff options
author | David Grogan <dgrogan@chromium.org> | 2013-01-07 13:17:43 -0800 |
---|---|---|
committer | Gavin Andresen <gavinandresen@gmail.com> | 2013-01-23 14:00:29 -0500 |
commit | 36311b9a194e3546006478157279383ffa624cf0 (patch) | |
tree | 10874de5669607f5c2d3f443bdc23af5aafb3f25 /src/leveldb/db/version_set.h | |
parent | f79ddf24a967a0043270b2999921550c6c366ec4 (diff) | |
download | bitcoin-36311b9a194e3546006478157279383ffa624cf0.tar.xz |
Fix corruption bug found and analyzed by dhruba@gmail.com
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.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/leveldb/db/version_set.h b/src/leveldb/db/version_set.h index 792899b7f8..9d084fdb7d 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_; |