Skip to content

Commit

Permalink
Merge pull request facebook#19 from petermattis/pmattis/expose-range-…
Browse files Browse the repository at this point in the history
…delete

Expose range deletions to table property collectors
  • Loading branch information
petermattis authored Oct 29, 2018
2 parents e48c9a5 + a79dcf4 commit 4a88b0d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions db/dbformat.cc
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ EntryType GetEntryType(ValueType value_type) {
return kEntrySingleDelete;
case kTypeMerge:
return kEntryMerge;
case kTypeRangeDeletion:
return kEntryRangeDeletion;
default:
return kEntryOther;
}
Expand Down
1 change: 1 addition & 0 deletions include/rocksdb/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ enum EntryType {
kEntryDelete,
kEntrySingleDelete,
kEntryMerge,
kEntryRangeDeletion,
kEntryOther,
};

Expand Down

0 comments on commit 4a88b0d

Please sign in to comment.