diff --git a/src/include/execution/executors/aggregation_executor.h b/src/include/execution/executors/aggregation_executor.h index 33b6b5d43..adfb7e98b 100644 --- a/src/include/execution/executors/aggregation_executor.h +++ b/src/include/execution/executors/aggregation_executor.h @@ -164,8 +164,8 @@ class AggregationExecutor : public AbstractExecutor { /** * Yield the next tuple from the insert. - * @param[out] tuple The next tuple produced by the insert - * @param[out] rid The next tuple RID produced by the insert + * @param[out] tuple The next tuple produced by the aggregation + * @param[out] rid The next tuple RID produced by the aggregation * @return `true` if a tuple was produced, `false` if there are no more tuples */ auto Next(Tuple *tuple, RID *rid) -> bool override; diff --git a/src/include/execution/executors/delete_executor.h b/src/include/execution/executors/delete_executor.h index 4dc3147c3..a3d35da42 100644 --- a/src/include/execution/executors/delete_executor.h +++ b/src/include/execution/executors/delete_executor.h @@ -44,7 +44,7 @@ class DeleteExecutor : public AbstractExecutor { /** * Yield the number of rows deleted from the table. * @param[out] tuple The integer tuple indicating the number of rows deleted from the table - * @param[out] rid The next tuple RID produced by the update (ignore, not used) + * @param[out] rid The next tuple RID produced by the delete (ignore, not used) * @return `true` if a tuple was produced, `false` if there are no more tuples * * NOTE: DeleteExecutor::Next() does not use the `rid` out-parameter.