mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 04:43:03 +01:00
Fixed CORE-2389 - Wrong matching of SIMILAR TO expression with brackets
This commit is contained in:
parent
d3534abb48
commit
62ad8ea507
@ -1311,7 +1311,11 @@ bool SimilarToMatcher<StrConverter, CharType>::Evaluator::match()
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (node->len + node->len2 != 0 && p >= end)
|
if (node->len + node->len2 != 0 && p >= end)
|
||||||
return false;
|
{
|
||||||
|
ret = false;
|
||||||
|
state = msReturning;
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (notInSet(bufferPos, 1, node->str3, node->len3) == 0)
|
if (notInSet(bufferPos, 1, node->str3, node->len3) == 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user