8
0
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:
asfernandes 2008-05-07 16:05:26 +00:00
parent 44b578edd4
commit 3039066631

View File

@ -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)
{