diff options
author | dgrogan@chromium.org <dgrogan@chromium.org@62dab493-f737-651d-591e-8d6aee1b9529> | 2011-04-20 22:48:11 +0000 |
---|---|---|
committer | dgrogan@chromium.org <dgrogan@chromium.org@62dab493-f737-651d-591e-8d6aee1b9529> | 2011-04-20 22:48:11 +0000 |
commit | ba6dac0e809b249532a7465f71a00ccda307161d (patch) | |
tree | 9aa494c1bb1bbbefba5bf12c520941dbe4abfec1 /db/version_edit.h | |
parent | 69c6d38342a1fab5f7f2921aa2e9c0e60ba90e35 (diff) | |
download | leveldb-ba6dac0e809b249532a7465f71a00ccda307161d.tar.gz |
@20776309
* env_chromium.cc should not export symbols.
* Fix MSVC warnings.
* Removed large value support.
* Fix broken reference to documentation file
git-svn-id: https://leveldb.googlecode.com/svn/trunk@24 62dab493-f737-651d-591e-8d6aee1b9529
Diffstat (limited to 'db/version_edit.h')
-rw-r--r-- | db/version_edit.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/db/version_edit.h b/db/version_edit.h index 7e417b5..ab874da 100644 --- a/db/version_edit.h +++ b/db/version_edit.h @@ -75,18 +75,6 @@ class VersionEdit { deleted_files_.insert(std::make_pair(level, file)); } - // Record that a large value with the specified large_ref was - // written to the output file numbered "fnum" - void AddLargeValueRef(const LargeValueRef& large_ref, - uint64_t fnum, - const Slice& internal_key) { - large_refs_added_.resize(large_refs_added_.size() + 1); - Large* large = &(large_refs_added_.back()); - large->large_ref = large_ref; - large->fnum = fnum; - large->internal_key.DecodeFrom(internal_key); - } - void EncodeTo(std::string* dst) const; Status DecodeFrom(const Slice& src); @@ -111,12 +99,6 @@ class VersionEdit { std::vector< std::pair<int, InternalKey> > compact_pointers_; DeletedFileSet deleted_files_; std::vector< std::pair<int, FileMetaData> > new_files_; - struct Large { - LargeValueRef large_ref; - uint64_t fnum; - InternalKey internal_key; - }; - std::vector<Large> large_refs_added_; }; } |