mirror of https://github.com/citusdata/citus.git
Fixes review notes
parent
ba3123455e
commit
30bbfe444d
|
@ -159,7 +159,9 @@ PreprocessGrantOnDatabaseStmt(Node *node, const char *queryString,
|
||||||
return NodeDDLTaskList(NON_COORDINATOR_NODES, commands);
|
return NodeDDLTaskList(NON_COORDINATOR_NODES, commands);
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool isSetTablespaceStatement(AlterDatabaseStmt *stmt)
|
|
||||||
|
static bool
|
||||||
|
isSetTablespaceStatement(AlterDatabaseStmt *stmt)
|
||||||
{
|
{
|
||||||
ListCell *lc = NULL;
|
ListCell *lc = NULL;
|
||||||
foreach(lc, stmt->options)
|
foreach(lc, stmt->options)
|
||||||
|
@ -190,11 +192,10 @@ PreprocessAlterDatabaseStmt(Node *node, const char *queryString,
|
||||||
return NIL;
|
return NIL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
EnsureCoordinator();
|
||||||
|
|
||||||
AlterDatabaseStmt *stmt = castNode(AlterDatabaseStmt, node);
|
AlterDatabaseStmt *stmt = castNode(AlterDatabaseStmt, node);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
char *sql = DeparseTreeNode((Node *) stmt);
|
char *sql = DeparseTreeNode((Node *) stmt);
|
||||||
|
|
||||||
List *commands = NULL;
|
List *commands = NULL;
|
||||||
|
|
Loading…
Reference in New Issue