mirror of https://github.com/citusdata/citus.git
Fixes review comments
parent
c458ae13e8
commit
082e35687c
|
@ -293,7 +293,7 @@ PreprocessAlterDatabaseStmt(Node *node, const char *queryString,
|
|||
return NIL;
|
||||
}
|
||||
|
||||
/* Since ALTER TABLE SET TABLESPACE statement is not supported */
|
||||
/* Since ALTER DATABASE SET TABLESPACE statement is not supported */
|
||||
/* inside a transaction block, we need to send the command to the */
|
||||
/* main database directly to make it work */
|
||||
if (!IsSetTablespaceStatement(stmt))
|
||||
|
|
|
@ -378,7 +378,7 @@ AlterDbStmtCheckSupportedObjectType(Node *node)
|
|||
}
|
||||
else
|
||||
{
|
||||
return IsSetTablespaceStatement(stmt) && strcmp(stmt->dbname, MainDb) != 0;
|
||||
return strcmp(stmt->dbname, MainDb) != 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue