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
|
* CreateDefaultExecutionParams returns execution params based on given (possibly null)
|
||||||
* functions that execute task lists.
|
* bind params (presumably from executor state) with defaults for some of the arguments.
|
||||||
*/
|
*/
|
||||||
static ExecutionParams *
|
static ExecutionParams *
|
||||||
GetExecutionParams(RowModifyLevel modLevel, List *taskList,
|
GetExecutionParams(RowModifyLevel modLevel, List *taskList,
|
||||||
|
@ -1069,8 +1069,9 @@ ExecuteTaskListIntoTupleDest(RowModifyLevel modLevel, List *taskList,
|
||||||
TupleDestination *tupleDest,
|
TupleDestination *tupleDest,
|
||||||
bool expectResults)
|
bool expectResults)
|
||||||
{
|
{
|
||||||
|
ParamListInfo paramListInfo = NULL;
|
||||||
ExecutionParams *executionParams = GetExecutionParams(modLevel, taskList, tupleDest,
|
ExecutionParams *executionParams = GetExecutionParams(modLevel, taskList, tupleDest,
|
||||||
expectResults, NULL);
|
expectResults, paramListInfo);
|
||||||
return ExecuteTaskListExtended(executionParams);
|
return ExecuteTaskListExtended(executionParams);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue