mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
Fixed error
This commit is contained in:
parent
05077fed34
commit
2642d23861
@ -91,7 +91,7 @@ public:
|
|||||||
{
|
{
|
||||||
// 1 is to exclude group #0 which is whole re match.
|
// 1 is to exclude group #0 which is whole re match.
|
||||||
for (size_t group = 1; group <= groups_count; ++group)
|
for (size_t group = 1; group <= groups_count; ++group)
|
||||||
data_col->insertData(current_row.data + matched_groups[group].offset, matched_groups[group].length);
|
data_col->insertData(current_row.data + start_pos + matched_groups[group].offset, matched_groups[group].length);
|
||||||
|
|
||||||
start_pos += matched_groups[0].offset + matched_groups[0].length;
|
start_pos += matched_groups[0].offset + matched_groups[0].length;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user