mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 17:41:59 +00:00
fix bug
This commit is contained in:
parent
1541593b2f
commit
bd2c016cf3
@ -142,7 +142,7 @@ struct ReplaceRegexpImpl
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (replace_one || !is_first_match)
|
if (replace_one || (!is_first_match && match.length() == 0))
|
||||||
can_finish_current_string = true;
|
can_finish_current_string = true;
|
||||||
is_first_match = false;
|
is_first_match = false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user