Do not use match in the SQL for MySQL.
Merge pull request #33 from matiasb/mysql-fixes

Do not use match in the SQL for MySQL.