Fix MYSQL_TYPE_STRING handling.