diff options
Diffstat (limited to 'table/format.cc')
-rw-r--r-- | table/format.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/table/format.cc b/table/format.cc index cda1decdf3..aa63144c9e 100644 --- a/table/format.cc +++ b/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); |