mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 10:02:01 +00:00
dbms: fixed warning [#CONV-2807].
This commit is contained in:
parent
fe47dbfd50
commit
a87eee123f
@ -324,7 +324,7 @@ struct ExtractImpl
|
||||
|
||||
const OptimizedRegularExpression & regexp = Regexps::get(pattern);
|
||||
|
||||
int capture = regexp.getNumberOfSubpatterns() > 0 ? 1 : 0;
|
||||
unsigned capture = regexp.getNumberOfSubpatterns() > 0 ? 1 : 0;
|
||||
OptimizedRegularExpression::MatchVec matches;
|
||||
matches.reserve(capture + 1);
|
||||
size_t prev_offset = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user