dbquery: accept mariadb 10.x in unit tests