mysql comparison (feedback from mariadb)