Fix errors in sql/mysql/upgrades
Merge pull request #267 from TheMightyBuzzard/master

Fix errors in sql/mysql/upgrades