From 97cc654a1844124efd13cf30e1b77062e10e86b8 Mon Sep 17 00:00:00 2001 From: Wish Date: Fri, 3 Feb 2023 12:22:52 +0800 Subject: [PATCH] Nicer comment Signed-off-by: Wish --- dbms/src/Storages/DeltaMerge/RowKeyRange.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dbms/src/Storages/DeltaMerge/RowKeyRange.h b/dbms/src/Storages/DeltaMerge/RowKeyRange.h index c3c3ec21a43..96491471875 100644 --- a/dbms/src/Storages/DeltaMerge/RowKeyRange.h +++ b/dbms/src/Storages/DeltaMerge/RowKeyRange.h @@ -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();