Added affected_rows to Results