From 5be8287989e151a111b679d937af9a402442048b Mon Sep 17 00:00:00 2001 From: Hanefi Onaldi Date: Fri, 7 Aug 2020 11:20:38 +0300 Subject: [PATCH] Fix comments of helper functions that set local config values (#4100) --- src/backend/distributed/executor/adaptive_executor.c | 6 +++--- src/backend/distributed/executor/local_executor.c | 3 +-- src/backend/distributed/executor/multi_executor.c | 4 ++-- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/src/backend/distributed/executor/adaptive_executor.c b/src/backend/distributed/executor/adaptive_executor.c index aa1998bf0..1cfa03ae0 100644 --- a/src/backend/distributed/executor/adaptive_executor.c +++ b/src/backend/distributed/executor/adaptive_executor.c @@ -4421,9 +4421,9 @@ RebuildWaitEventSetFlags(WaitEventSet *waitEventSet, List *sessionList) /* - * SetLocalForceMaxQueryParallelization simply a C interface for - * setting the following: - * SET LOCAL citus.multi_shard_modify_mode TO on; + * SetLocalForceMaxQueryParallelization is simply a C interface for setting + * the following: + * SET LOCAL citus.force_max_query_parallelization TO on; */ void SetLocalForceMaxQueryParallelization(void) diff --git a/src/backend/distributed/executor/local_executor.c b/src/backend/distributed/executor/local_executor.c index 1e6b1f2c1..0d08be1b0 100644 --- a/src/backend/distributed/executor/local_executor.c +++ b/src/backend/distributed/executor/local_executor.c @@ -794,8 +794,7 @@ ErrorIfTransactionAccessedPlacementsLocally(void) /* - * DisableLocalExecution simply a C interface for - * setting the following: + * DisableLocalExecution is simply a C interface for setting the following: * SET LOCAL citus.enable_local_execution TO off; */ void diff --git a/src/backend/distributed/executor/multi_executor.c b/src/backend/distributed/executor/multi_executor.c index 9296397cb..3c3f0edc0 100644 --- a/src/backend/distributed/executor/multi_executor.c +++ b/src/backend/distributed/executor/multi_executor.c @@ -642,8 +642,8 @@ ExecutePlanIntoDestReceiver(PlannedStmt *queryPlan, ParamListInfo params, /* - * SetLocalMultiShardModifyModeToSequential simply a C interface for - * setting the following: + * SetLocalMultiShardModifyModeToSequential is simply a C interface for setting + * the following: * SET LOCAL citus.multi_shard_modify_mode = 'sequential'; */ void