Skip to content

Commit

Permalink
restore
Browse files Browse the repository at this point in the history
  • Loading branch information
Or Friedmann committed Feb 7, 2024
1 parent dc836e1 commit 80e4140
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions db/dbformat.cc
Original file line number Diff line number Diff line change
Expand Up @@ -177,9 +177,9 @@ int InternalKeyComparator::Compare(const ParsedInternalKey& a,
r = -1;
} else if (a.sequence < b.sequence) {
r = +1;
} else if (a.type == ValueType::kTypeDeletion && b.type == ValueType::kTypeDeletion && a.type > b.type) {
} else if (a.type > b.type) {
r = -1;
} else if (a.type == ValueType::kTypeDeletion && b.type == ValueType::kTypeDeletion && a.type < b.type) {
} else if (a.type < b.type) {
r = +1;
}
}
Expand Down

0 comments on commit 80e4140

Please sign in to comment.