MuhammadTahaNaveed commented on code in PR #1451:
URL: https://github.com/apache/age/pull/1451#discussion_r1427966144


##########
src/backend/catalog/ag_catalog.c:
##########
@@ -97,8 +97,15 @@ void ag_ProcessUtility_hook(PlannedStmt *pstmt, const char 
*queryString, bool re
         (*prev_process_utility_hook) (pstmt, queryString, readOnlyTree, 
context, params,
                                       queryEnv, dest, qc);
     else
+    {
+        Assert(IsA(pstmt, PlannedStmt));
+        Assert(pstmt->commandType == CMD_UTILITY);
+        Assert(queryString != NULL);   /* required as of 8.4 */
+        Assert(qc == NULL || qc->commandTag == CMDTAG_UNKNOWN);
         standard_ProcessUtility(pstmt, queryString, readOnlyTree, context, 
params, queryEnv,
                                 dest, qc);
+    }
+        

Review Comment:
   extra line ?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to