Another fix for mariadb 10