From d3f20af5b179be4c4e55722836dfcb1221b3506c Mon Sep 17 00:00:00 2001 From: Rahim Kanji Date: Mon, 27 May 2024 14:46:39 +0500 Subject: [PATCH] Removed assert --- lib/PgSQL_Protocol.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/PgSQL_Protocol.cpp b/lib/PgSQL_Protocol.cpp index b05a5ae63..57353fd63 100644 --- a/lib/PgSQL_Protocol.cpp +++ b/lib/PgSQL_Protocol.cpp @@ -1431,7 +1431,6 @@ unsigned int PgSQL_Protocol::copy_row_to_PgSQL_Query_Result(bool send, PgSQL_Que unsigned int PgSQL_Protocol::copy_command_completion_to_PgSQL_Query_Result(bool send, PgSQL_Query_Result* pg_query_result, PGresult* result) { assert(pg_query_result); assert(result); - assert(pg_query_result->num_fields); const char* tag = PQcmdStatus(result); if (!tag) assert(0); // for testing it should not be null