fix position of mysql_affected_rows  bug565