Created attachment 583877 [details] reproducer Description of problem: bugzilla.runQuery call faults with 'DBD::mysql::st execute failed: FUNCTION bugs.0AND does not exist Version-Release number of selected component (if applicable): devel How reproducible: 100% Steps to Reproduce: reproducer script attached Actual results: DBD::mysql::st execute failed: FUNCTION bugs.0AND does not exist * notice 0AND together in the statement ..(SELECT bug_id FROM flags INNER JOIN flagtypes ON flags.type_id = flagtypes.id WHERE INSTR(CONCAT(flagtypes.name, flags.status), \'jboss-brms-5.1.0\') > 0AND (flagtypes.view_group_id IS NULL.. Expected results: no error Additional info:
Will be fixed in the next release (rc3) *** This bug has been marked as a duplicate of bug 821155 ***