Fix build error on MySQL 5.6.12

MYSQL_ERROR was ranamed to
Sql_condition since MySQL 5.6.