Skip to content

Commit 26e0115

Browse files
branch-4.1: [fix](column) Fix incorrect for-loop #62517 (#62568)
Cherry-picked from #62517 Co-authored-by: Gabriel <liwenqiang@selectdb.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent b8167c7 commit 26e0115

File tree

2 files changed

+1083
-1
lines changed

2 files changed

+1083
-1
lines changed

be/src/core/column/predicate_column.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ class PredicateColumnType final : public COWHelper<IColumn, PredicateColumnType<
326326
for (size_t i = 0; i < n; i++) {
327327
memcpy(dst, str.data(), str.size());
328328
insert_string_value(dst, str.size());
329-
dst += i * str.size();
329+
dst += str.size();
330330
}
331331
} else if constexpr (Type == TYPE_LARGEINT) {
332332
const auto& v = x.get<TYPE_LARGEINT>();

0 commit comments

Comments
 (0)