projects
/
psqlodbc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
688d26c
)
Remove a mylog() call which is a dupilicate of the preceding MYLOG()
author
Hiroshi Inoue
<h-inoue@dream.email.ne.jp>
Tue, 11 May 2021 12:03:08 +0000
(21:03 +0900)
committer
Hiroshi Inoue
<h-inoue@dream.email.ne.jp>
Sat, 15 May 2021 10:46:08 +0000
(19:46 +0900)
macro call.
Also direct use of mylog() should be avoided because mylog() uses lots of CPU.
Report and patch by Marko Ristola.
results.c
patch
|
blob
|
blame
|
history
diff --git
a/results.c
b/results.c
index 1f6a12c8eaa78f05f7e146fbc9a82354b52ea66f..ec89600f771fee66315451bdeb3c1e570e0e6e4b 100644
(file)
--- 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);