Skip to content

Commit

Permalink
Fixes code indents
Browse files Browse the repository at this point in the history
  • Loading branch information
gurkanindibay committed Oct 11, 2023
1 parent 6a333ca commit 959d26d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/backend/distributed/commands/database.c
Original file line number Diff line number Diff line change
Expand Up @@ -240,12 +240,13 @@ PreprocessAlterDatabaseRefreshCollStmt(Node *node, const char *queryString,
return NodeDDLTaskList(NON_COORDINATOR_NODES, commands);
}


#endif


List *
PreprocessAlterDatabaseRenameStmt(Node *node, const char *queryString,
ProcessUtilityContext processUtilityContext)
ProcessUtilityContext processUtilityContext)
{
if (!ShouldPropagate())
{
Expand All @@ -265,6 +266,7 @@ PreprocessAlterDatabaseRenameStmt(Node *node, const char *queryString,
return NodeDDLTaskList(NON_COORDINATOR_NODES, commands);
}


/*
* CreateDDLTaskList creates a task list for running a single DDL command.
*/
Expand Down
2 changes: 2 additions & 0 deletions src/backend/distributed/deparser/deparse_database_stmts.c
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ DeparseAlterDatabaseRefreshCollStmt(Node *node)
return str.data;
}


#endif

char *
Expand All @@ -225,6 +226,7 @@ DeparseAlterDatabaseRenameStmt(Node *node)
return str.data;
}


static void
AppendAlterDatabaseSetStmt(StringInfo buf, AlterDatabaseSetStmt *stmt)
{
Expand Down
3 changes: 2 additions & 1 deletion src/include/distributed/commands.h
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,8 @@ extern List * PreprocessDropDatabaseStmt(Node *node, const char *queryString,
ProcessUtilityContext processUtilityContext);

extern List * PreprocessAlterDatabaseRenameStmt(Node *node, const char *queryString,
ProcessUtilityContext processUtilityContext);
ProcessUtilityContext
processUtilityContext);

/* domain.c - forward declarations */
extern List * CreateDomainStmtObjectAddress(Node *node, bool missing_ok, bool
Expand Down

0 comments on commit 959d26d

Please sign in to comment.