From 7dc2a49ecf0a827f9e9214ff242e04f435e31d39 Mon Sep 17 00:00:00 2001 From: Alex Chi Date: Fri, 25 Nov 2022 21:21:45 -0500 Subject: [PATCH] Revert "fix(typo): modify incorrect description (#486)" This reverts commit 25f8d91fbc602f956928be36ed26ef420b2bd42a. --- src/include/execution/executors/aggregation_executor.h | 4 ++-- src/include/execution/executors/delete_executor.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/include/execution/executors/aggregation_executor.h b/src/include/execution/executors/aggregation_executor.h index adfb7e98b..33b6b5d43 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 aggregation - * @param[out] rid The next tuple RID produced by the aggregation + * @param[out] tuple The next tuple produced by the insert + * @param[out] rid The next tuple RID produced by the insert * @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 a3d35da42..4dc3147c3 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 delete (ignore, not used) + * @param[out] rid The next tuple RID produced by the update (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.