mirror of https://github.com/citusdata/citus.git
Remove IsCitusTable usage before IsCitusTableType
parent
e38779312e
commit
48b1e1c9c4
|
@ -215,8 +215,7 @@ CreateCitusLocalTable(Oid relationId, bool cascadeViaForeignKeys, bool autoConve
|
||||||
*/
|
*/
|
||||||
SetLocalExecutionStatus(LOCAL_EXECUTION_REQUIRED);
|
SetLocalExecutionStatus(LOCAL_EXECUTION_REQUIRED);
|
||||||
|
|
||||||
if (IsCitusTable(relationId) && IsCitusTableType(relationId, CITUS_LOCAL_TABLE) &&
|
if (IsCitusTableType(relationId, CITUS_LOCAL_TABLE) && !autoConverted)
|
||||||
!autoConverted)
|
|
||||||
{
|
{
|
||||||
/* we should mark this relation and connected ones as autoConverted = false */
|
/* we should mark this relation and connected ones as autoConverted = false */
|
||||||
List *relationIdList = GetForeignKeyConnectedRelationIdList(relationId);
|
List *relationIdList = GetForeignKeyConnectedRelationIdList(relationId);
|
||||||
|
|
Loading…
Reference in New Issue