MDL-47176 qtype_match: Avoid sql_compare to solve problems with Oracle