Fixes indents

pull/7253/head
gindibay 2023-10-31 11:00:40 +03:00
parent d8639d58de
commit 2d9181a9ab
3 changed files with 7 additions and 6 deletions

View File

@ -263,6 +263,7 @@ PreprocessAlterDatabaseSetStmt(Node *node, const char *queryString,
return NodeDDLTaskList(NON_COORDINATOR_NODES, commands); return NodeDDLTaskList(NON_COORDINATOR_NODES, commands);
} }
List * List *
PreprocessCreateDatabaseStmt(Node *node, const char *queryString, PreprocessCreateDatabaseStmt(Node *node, const char *queryString,
ProcessUtilityContext processUtilityContext) ProcessUtilityContext processUtilityContext)
@ -274,7 +275,7 @@ PreprocessCreateDatabaseStmt(Node *node, const char *queryString,
EnsureCoordinator(); EnsureCoordinator();
//Validate the statement /*Validate the statement */
DeparseTreeNode(node); DeparseTreeNode(node);
return NIL; return NIL;

View File

@ -237,8 +237,8 @@ AppendCreateDatabaseStmt(StringInfo buf, CreatedbStmt *stmt)
foreach_ptr(option, stmt->options) foreach_ptr(option, stmt->options)
{ {
//If option is template, lc_type, locale or lc_collate, propagation will not be supportted /*If option is template, lc_type, locale or lc_collate, propagation will not be supportted */
// since template database is not stored in the catalog /* since template database is not stored in the catalog */
if (strcmp(option->defname, "template") == 0 || if (strcmp(option->defname, "template") == 0 ||
strcmp(option->defname, "strategy") == 0 || strcmp(option->defname, "strategy") == 0 ||
strcmp(option->defname, "lc_ctype") == 0 || strcmp(option->defname, "lc_ctype") == 0 ||