diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2014-10-25 02:33:03 -0700 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2014-10-25 02:39:56 -0700 |
commit | 65e4e8427d900b27f579dc12af6c74b3ec628286 (patch) | |
tree | eff17ddb47e11f894826d921abe5b5634a74c168 /src/leveldb/table/format.cc | |
parent | b847e0139eae06f4ea3c44ae414dc0110598a1be (diff) | |
parent | 5b9f8425a515739e2149bf5bfb2ae6ed60bfbaf2 (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.cc | 2 |
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); |