Update src/backend/distributed/commands/comment.c

Co-authored-by: Jelte Fennema-Nio <jelte.fennema@microsoft.com>
pull/7388/head
Gürkan İndibay 2024-01-18 18:04:45 +03:00 committed by GitHub
parent a4955cb2c2
commit 407909835f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ GetCommentForObject(Oid classOid, Oid objectOid)
SysScanDesc scan = systable_beginscan(shdescRelation, SharedDescriptionObjIndexId,
indexOk, NULL, scanKeyCount,
scanKey);
while ((tuple = systable_getnext(scan)) != NULL)
if ((tuple = systable_getnext(scan)) != NULL)
{
Form_pg_shdescription shdesc = (Form_pg_shdescription) GETSTRUCT(tuple);