Fixes cannotBeExecutedInTransction

pull/7240/head
gindibay 2023-10-24 15:44:59 +03:00
parent c5c7705dbe
commit c7da2cd122
1 changed files with 2 additions and 2 deletions

View File

@ -1483,7 +1483,7 @@ DDLTaskList(Oid relationId, const char *commandString)
/* /*
* NontransactionalNodeDDLTask builds a list of tasks to execute a DDL command on a * NontransactionalNodeDDLTask builds a list of tasks to execute a DDL command on a
* given target set of nodes with cannotBeExecutedInTransction is set to make sure * given target set of nodes with cannotBeExecutedInTransaction is set to make sure
* that list is being executed without a transaction. * that list is being executed without a transaction.
*/ */
List * List *
@ -1496,7 +1496,7 @@ NontransactionalNodeDDLTask(TargetWorkerSet targets, List *commands)
Task *task = NULL; Task *task = NULL;
foreach_ptr(task, ddlJob->taskList) foreach_ptr(task, ddlJob->taskList)
{ {
task->cannotBeExecutedInTransction = true; task->cannotBeExecutedInTransaction = true;
} }
} }
return ddlJobs; return ddlJobs;