aboutsummaryrefslogtreecommitdiff
path: root/src/leveldb/db/log_reader.cc
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2018-03-01 19:38:22 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2018-03-01 19:42:33 +0100
commita17fecfdf0d78cf964e06d4b39b9cee9a97b7fde (patch)
tree2233552e8fbbeca6e140596cb100e108de34fb2d /src/leveldb/db/log_reader.cc
parentea2e39fd2004e83375c1703543e32a10e3b9d981 (diff)
parentfaa6dd27b1f1f96f5e1a26e830e1a80255afdb5f (diff)
downloadbitcoin-a17fecfdf0d78cf964e06d4b39b9cee9a97b7fde.tar.xz
Merge #12518: [0.16] Bump leveldb subtree
835a21b Squashed 'src/leveldb/' changes from c521b3ac65..64052c76c5 (MarcoFalke) Pull request description: The leveldb bump is the same branch/commit as in #12451 Tree-SHA512: 585a55747c75e990c9fd73399e98e548c01bef8b960c0a99844326de43663d004d2211b4689518f2d3e51cc48a732e9c92082939c356793143db411224fa75fa
Diffstat (limited to 'src/leveldb/db/log_reader.cc')
-rw-r--r--src/leveldb/db/log_reader.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leveldb/db/log_reader.cc b/src/leveldb/db/log_reader.cc
index a6d304545d..8b6ad136d7 100644
--- a/src/leveldb/db/log_reader.cc
+++ b/src/leveldb/db/log_reader.cc
@@ -186,7 +186,7 @@ uint64_t Reader::LastRecordOffset() {
}
void Reader::ReportCorruption(uint64_t bytes, const char* reason) {
- ReportDrop(bytes, Status::Corruption(reason));
+ ReportDrop(bytes, Status::Corruption(reason, file_->GetName()));
}
void Reader::ReportDrop(uint64_t bytes, const Status& reason) {