Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[DBD::Pg 5/5] Use PG_ASYNC constant for pg_async & test

0 views
Skip to first unread message

dbdpg-...@bucardo.org

unread,
Apr 18, 2016, 1:15:02 PM4/18/16
to dbd-pg-...@perl.org
Committed by =?UTF-8?q?Dagfinn=20Ilmari=20Manns=C3=A5ker?= <ilm...@ilmari.org>

Subject: [DBD::Pg 5/5] Use PG_ASYNC constant for pg_async & test

---
dbdimp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dbdimp.c b/dbdimp.c
index 0858028..58311cd 100644
--- a/dbdimp.c
+++ b/dbdimp.c
@@ -3389,7 +3389,7 @@ int dbd_st_execute (SV * sth, imp_sth_t * imp_sth)
statement[execsize] = '\0';

if (TRACE5_slow) TRC(DBILOGFP, "%sRunning %s with (%s)\n",
- THEADER_slow, imp_sth->async_flag & 1 ? "PQsendQuery" : "PQexec", statement);
+ THEADER_slow, imp_sth->async_flag & PG_ASYNC ? "PQsendQuery" : "PQexec", statement);

if (TSQL)
TRC(DBILOGFP, "%s;\n\n", statement);
--
1.8.4

0 new messages