mirror of https://github.com/citusdata/citus.git
Fixes indentation
parent
e258122fde
commit
ce43bc7c29
|
@ -323,9 +323,9 @@ DeparseDatabaseCommentStmt(Node *node)
|
|||
|
||||
char *databaseName = strVal(stmt->object);
|
||||
|
||||
char *comment = stmt->comment!=NULL?quote_literal_cstr(stmt->comment):"NULL";
|
||||
char *comment = stmt->comment != NULL ? quote_literal_cstr(stmt->comment) : "NULL";
|
||||
|
||||
appendStringInfo(&str, "COMMENT ON DATABASE %s IS %s;",databaseName,comment);
|
||||
appendStringInfo(&str, "COMMENT ON DATABASE %s IS %s;", databaseName, comment);
|
||||
|
||||
return str.data;
|
||||
}
|
||||
|
|
|
@ -543,9 +543,9 @@ DeparseRoleCommentStmt(Node *node)
|
|||
initStringInfo(&str);
|
||||
|
||||
char *roleName = strVal(stmt->object);
|
||||
char *comment = stmt->comment!=NULL?quote_literal_cstr(stmt->comment):"NULL";
|
||||
char *comment = stmt->comment != NULL ? quote_literal_cstr(stmt->comment) : "NULL";
|
||||
|
||||
appendStringInfo(&str, "COMMENT ON ROLE %s IS %s;",roleName,comment);
|
||||
appendStringInfo(&str, "COMMENT ON ROLE %s IS %s;", roleName, comment);
|
||||
|
||||
return str.data;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue