types: add kEntryBlobIndex for TablePropertiesCollector (#4233)

Summary:
So that we can act accordingly on blob index entries
Pull Request resolved: https://github.com/facebook/rocksdb/pull/4233

Differential Revision: D9190205

Pulled By: yiwu-arbug

fbshipit-source-id: e5b84d5b41e44fa7a76762f1f7b0305369bb3a0c
main
Huachao Huang 6 years ago committed by Facebook Github Bot
parent c970358574
commit badfd70a3e
  1. 2
      db/dbformat.cc
  2. 1
      include/rocksdb/types.h

@ -48,6 +48,8 @@ EntryType GetEntryType(ValueType value_type) {
return kEntryMerge;
case kTypeRangeDeletion:
return kEntryRangeDeletion;
case kTypeBlobIndex:
return kEntryBlobIndex;
default:
return kEntryOther;
}

@ -23,6 +23,7 @@ enum EntryType {
kEntrySingleDelete,
kEntryMerge,
kEntryRangeDeletion,
kEntryBlobIndex,
kEntryOther,
};

Loading…
Cancel
Save