From 3f61a62420e303991ed42d77566428621da27084 Mon Sep 17 00:00:00 2001 From: Gokhan Gulbiz Date: Tue, 21 Mar 2023 11:22:08 +0300 Subject: [PATCH] Add an additional comment Co-authored-by: Jelte Fennema --- src/backend/distributed/utils/attribute.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/backend/distributed/utils/attribute.c b/src/backend/distributed/utils/attribute.c index 4761aef02..dd0a95f13 100644 --- a/src/backend/distributed/utils/attribute.c +++ b/src/backend/distributed/utils/attribute.c @@ -630,6 +630,8 @@ ExtractTopComment(const char *inputString) /* Skip the comment start characters */ commentEndCharsIndex += commentStartCharsLength; + + /* Find the first comment end character */ while (commentEndCharsIndex < inputStringLen && !(inputString[commentEndCharsIndex] == '*' && inputString [commentEndCharsIndex + 1] == '/'))