citus_indent fixups

pull/488/head
Andres Freund 2016-07-13 11:41:44 -07:00
parent 0cad3b22cc
commit 4cf0a4e48e
2 changed files with 3 additions and 2 deletions

View File

@ -67,7 +67,7 @@ typedef struct WalkerState
/* planner functions forward declarations */ /* planner functions forward declarations */
static bool MasterIrreducibleExpression(Node *expression, bool *varArgument, static bool MasterIrreducibleExpression(Node *expression, bool *varArgument,
bool *badCoalesce); bool *badCoalesce);
static bool MasterIrreducibleExpressionWalker(Node *expression, WalkerState *state); static bool MasterIrreducibleExpressionWalker(Node *expression, WalkerState *state);
static char MostPermissiveVolatileFlag(char left, char right); static char MostPermissiveVolatileFlag(char left, char right);
static Task * RouterModifyTask(Query *query); static Task * RouterModifyTask(Query *query);
@ -470,7 +470,7 @@ static bool
MasterIrreducibleExpressionWalker(Node *expression, WalkerState *state) MasterIrreducibleExpressionWalker(Node *expression, WalkerState *state)
{ {
char volatileFlag = 0; char volatileFlag = 0;
WalkerState childState = {false, false, false}; WalkerState childState = { false, false, false };
bool containsDisallowedFunction = false; bool containsDisallowedFunction = false;
if (expression == NULL) if (expression == NULL)

View File

@ -54,6 +54,7 @@ RequiresMasterEvaluation(Query *query)
return false; return false;
} }
/* /*
* Looks at each TargetEntry of the query and the jointree quals, evaluating * Looks at each TargetEntry of the query and the jointree quals, evaluating
* any sub-expressions which don't include Vars. * any sub-expressions which don't include Vars.