Ignore malformed Queries which have a binary operator without first argument
Review Request #128183 - Created June 14, 2016 and submitted
Queries like =:2 make our QueryParser behave unexpectedly, now if we have a binary operator without a first arg we just return an empty term.
|You could actually use QTest::ignoreMessage() here, to silence the qDebug and ensure it worked (this would have detected the issue ...||David Faure|
This looks very much like something that can be unittested. Is there a unittest framework for this "query parser" ?
Looks good (at this point it's just nitpicking, feel free to push as is, or fix+push)