From 08d148d43e1b56b1265e390ddb0dfb06a92a4f3d Mon Sep 17 00:00:00 2001 From: Onder Kalaci Date: Tue, 14 Jan 2020 10:10:33 +0100 Subject: [PATCH] Make TaskAccessesLocalNode external function --- src/include/distributed/local_executor.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/include/distributed/local_executor.h b/src/include/distributed/local_executor.h index 4629132ca..464d87e0e 100644 --- a/src/include/distributed/local_executor.h +++ b/src/include/distributed/local_executor.h @@ -24,6 +24,9 @@ extern void ExtractLocalAndRemoteTasks(bool readOnlyPlan, List *taskList, List **localTaskList, List **remoteTaskList); extern bool ShouldExecuteTasksLocally(List *taskList); extern void ErrorIfLocalExecutionHappened(void); +extern void SetTaskQueryAndPlacementList(Task *task, Query *query, List *placementList); +extern char * TaskQueryString(Task *task); +extern bool TaskAccessesLocalNode(Task *task); extern void DisableLocalExecution(void); extern bool AnyTaskAccessesRemoteNode(List *taskList); extern bool TaskAccessesLocalNode(Task *task);