aboutsummaryrefslogtreecommitdiff
path: root/src/leveldb/table/format.cc
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2014-10-25 02:33:03 -0700
committerPieter Wuille <pieter.wuille@gmail.com>2014-10-25 02:39:56 -0700
commit65e4e8427d900b27f579dc12af6c74b3ec628286 (patch)
treeeff17ddb47e11f894826d921abe5b5634a74c168 /src/leveldb/table/format.cc
parentb847e0139eae06f4ea3c44ae414dc0110598a1be (diff)
parent5b9f8425a515739e2149bf5bfb2ae6ed60bfbaf2 (diff)
Merge pull request #5093
4b0e2d7 Squashed 'src/leveldb/' changes from 7924331..7d41e6f (Pieter Wuille)
Diffstat (limited to 'src/leveldb/table/format.cc')
-rw-r--r--src/leveldb/table/format.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leveldb/table/format.cc b/src/leveldb/table/format.cc
index cda1decdf3..aa63144c9e 100644
--- a/src/leveldb/table/format.cc
+++ b/src/leveldb/table/format.cc
@@ -48,7 +48,7 @@ Status Footer::DecodeFrom(Slice* input) {
const uint64_t magic = ((static_cast<uint64_t>(magic_hi) << 32) |
(static_cast<uint64_t>(magic_lo)));
if (magic != kTableMagicNumber) {
- return Status::InvalidArgument("not an sstable (bad magic number)");
+ return Status::Corruption("not an sstable (bad magic number)");
}
Status result = metaindex_handle_.DecodeFrom(input);