mirror of https://github.com/citusdata/citus.git
Apply suggestions from code review
Co-authored-by: Onur Tirtir <onurcantirtir@gmail.com>pull/7372/head
parent
d7fa9a5e36
commit
bbf9581fef
|
@ -1019,8 +1019,8 @@ ExecuteTaskListOutsideTransaction(RowModifyLevel modLevel, List *taskList,
|
|||
|
||||
|
||||
/*
|
||||
* Prepare execution parameters for a task list.It is used by the
|
||||
* functions that execute task lists.
|
||||
* CreateDefaultExecutionParams returns execution params based on given (possibly null)
|
||||
* bind params (presumably from executor state) with defaults for some of the arguments.
|
||||
*/
|
||||
static ExecutionParams *
|
||||
GetExecutionParams(RowModifyLevel modLevel, List *taskList,
|
||||
|
@ -1069,8 +1069,9 @@ ExecuteTaskListIntoTupleDest(RowModifyLevel modLevel, List *taskList,
|
|||
TupleDestination *tupleDest,
|
||||
bool expectResults)
|
||||
{
|
||||
ParamListInfo paramListInfo = NULL;
|
||||
ExecutionParams *executionParams = GetExecutionParams(modLevel, taskList, tupleDest,
|
||||
expectResults, NULL);
|
||||
expectResults, paramListInfo);
|
||||
return ExecuteTaskListExtended(executionParams);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue