Skip to content

Commit

Permalink
Nicer comment
Browse files Browse the repository at this point in the history
Signed-off-by: Wish <[email protected]>
  • Loading branch information
breezewish committed Feb 3, 2023
1 parent 9163629 commit 97cc654
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions dbms/src/Storages/DeltaMerge/RowKeyRange.h
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,7 @@ struct RowKeyValue
*/
RowKeyValue toNext() const
{
// We want to always ensure that x.toNext().value > x.value.
// So for int value, let's build a nice next key.
// We want to always ensure that the IntHandle.stringValue == IntHandle.intValue.
if (!is_common_handle)
return toPrefixNext();

Expand Down

0 comments on commit 97cc654

Please sign in to comment.