Committed by =?UTF-8?q?Dagfinn=20Ilmari=20Manns=C3=A5ker?= <[email protected]>

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

Reply via email to