public virtual string FinalizeOperation(MySqlCommand command, ISingleQueryResultInternal result) { try { using (MySqlDataReader Reader = command.EndExecuteReader(result.AsyncResult)) { ITableDescriptor Table = Context.Table; ISchemaDescriptor Schema = Table.Schema; IReadOnlyCollection <IColumnDescriptor> TableStructure = Schema.Tables[Table]; FillResult(Reader, TableStructure, out List <IResultRow> Rows); result.SetCompletedWithRows(Rows); return($"succeeded, {Rows.Count} row(s) returned"); } } catch { result.SetCompleted(false, ResultError.ErrorExceptionCompletingQuery); throw; } }