mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 23:23:04 +01:00
Fixed problem matching expressions of type x{n}
This commit is contained in:
parent
44b578edd4
commit
3039066631
@ -1087,7 +1087,9 @@ bool SimilarToMatcher<StrConverter, CharType>::Evaluator::match()
|
||||
case opRepeat:
|
||||
fb_assert(state == 1 || state == 2);
|
||||
|
||||
if (state == 2)
|
||||
if (state == 1)
|
||||
scope->j = 0;
|
||||
else if (state == 2)
|
||||
{
|
||||
if (scope->j < node->len)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user