From 5e9dd3c8949d054d4c809e0db6c98014da6908cb 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 2f0bcab02..b63f3ae85 100644 --- a/src/backend/distributed/utils/attribute.c +++ b/src/backend/distributed/utils/attribute.c @@ -700,6 +700,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] == '/'))