aboutsummaryrefslogtreecommitdiff
path: root/src/leveldb/helpers
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2018-02-16 09:01:35 -0500
committerMarcoFalke <falke.marco@gmail.com>2018-02-16 08:59:28 -0500
commitfaa6dd27b1f1f96f5e1a26e830e1a80255afdb5f (patch)
treeac28ac960c3a60cfa750bf86d095ef01e0f72280 /src/leveldb/helpers
parent13e31dd6548d64a5992f439e74bb424bf88aca04 (diff)
parent835a21b42402d546bd72f8a3f452f0c743fefe82 (diff)
Bump leveldb subtree
Diffstat (limited to 'src/leveldb/helpers')
-rw-r--r--src/leveldb/helpers/memenv/memenv.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/leveldb/helpers/memenv/memenv.cc b/src/leveldb/helpers/memenv/memenv.cc
index 9a98884daf..68c0614a59 100644
--- a/src/leveldb/helpers/memenv/memenv.cc
+++ b/src/leveldb/helpers/memenv/memenv.cc
@@ -176,6 +176,7 @@ class SequentialFileImpl : public SequentialFile {
return Status::OK();
}
+ virtual std::string GetName() const { return "[memenv]"; }
private:
FileState* file_;
uint64_t pos_;
@@ -196,6 +197,7 @@ class RandomAccessFileImpl : public RandomAccessFile {
return file_->Read(offset, n, result, scratch);
}
+ virtual std::string GetName() const { return "[memenv]"; }
private:
FileState* file_;
};
@@ -218,6 +220,7 @@ class WritableFileImpl : public WritableFile {
virtual Status Flush() { return Status::OK(); }
virtual Status Sync() { return Status::OK(); }
+ virtual std::string GetName() const { return "[memenv]"; }
private:
FileState* file_;
};