From 0744384bac7951a3545f14240f156d576b30203b Mon Sep 17 00:00:00 2001 From: Gokhan Gulbiz Date: Tue, 21 Mar 2023 11:22:29 +0300 Subject: [PATCH] Update comment Co-authored-by: Jelte Fennema --- src/backend/distributed/utils/attribute.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/distributed/utils/attribute.c b/src/backend/distributed/utils/attribute.c index b63f3ae85..35fd67333 100644 --- a/src/backend/distributed/utils/attribute.c +++ b/src/backend/distributed/utils/attribute.c @@ -745,7 +745,7 @@ Substring(const char *str, int start, int end) /* Copy the substring to the new memory location */ strncpy_s(substr, end - start + 1, str + start, end - start); - /* Add null terminator to end the substring */ + /* Add null terminator to end of the substring */ substr[end - start] = '\0'; return substr;