fix for MySQLResult constructor