diff --git a/include/relation.cpp b/include/relation.cpp index 06db7fa6b..720a84306 100755 --- a/include/relation.cpp +++ b/include/relation.cpp @@ -766,7 +766,7 @@ bool TRelation::next_match( for (f = fields.get(0); f; f = fields.get()) old.add(from.curr().get(f)); - from.next(); + ok = from.next() == NOERR; old.restart(); @@ -775,7 +775,7 @@ bool TRelation::next_match( const TFixed_string v(from.curr().get(f)); const char* o = old.get(); if (v != o) - ok = FALSE; + ok = false; } }