mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 08:40:50 +00:00
Addition to prev. revision [#CLICKHOUSE-2]
This commit is contained in:
parent
66afebc498
commit
afe3973325
@ -351,6 +351,9 @@ struct MatchImpl
|
||||
const std::string & pattern,
|
||||
PaddedPODArray<UInt8> & res)
|
||||
{
|
||||
if (offsets.empty())
|
||||
return;
|
||||
|
||||
String strstr_pattern;
|
||||
/// A simple case where the LIKE expression reduces to finding a substring in a string
|
||||
if (like && likePatternIsStrstr(pattern, strstr_pattern))
|
||||
|
Loading…
Reference in New Issue
Block a user