fix a potential infinite loop

pull/3563/head
Onur Tirtir 2020-01-04 16:28:39 +03:00
parent a75436a54b
commit 1e128a6ee4
1 changed files with 1 additions and 0 deletions

View File

@ -562,6 +562,7 @@ HasForeignKeyToReferenceTable(Oid relationId)
if (!IsDistributedTable(referencedTableId))
{
heapTuple = systable_getnext(scanDescriptor);
continue;
}