From 1914d574d50ff4802ececa95f4c9d2a3c08ea88a Mon Sep 17 00:00:00 2001 From: Hiroshi Inoue Date: Tue, 11 May 2021 21:03:08 +0900 Subject: [PATCH] Remove a mylog() call which is a dupilicate of the preceding MYLOG() macro call. Also direct use of mylog() should be avoided because mylog() uses lots of CPU. Report and patch by Marko Ristola. --- results.c | 1 - 1 file changed, 1 deletion(-) diff --git a/results.c b/results.c index 1f6a12c..ec89600 100644 --- a/results.c +++ b/results.c @@ -4632,7 +4632,6 @@ SC_pos_add(StatementClass *stmt, goto cleanup; } MYLOG(0, "addstr=%s\n", addstr.data); - mylog("addstr=%s\n", addstr.data); s.qstmt->exec_start_row = s.qstmt->exec_end_row = s.irow; s.updyes = TRUE; ret = PGAPI_ExecDirect(hstmt, (SQLCHAR *) addstr.data, SQL_NTS, 0); -- 2.39.5