[DBD::Pg] Adjust debugging to use new _slow macros.

dbdpg-commits-gENoVmVU/[email protected] Sat, 16 Nov 2013 21:54:09 -0500
Newsgroups gmane.comp.db.postgresql.dbdpg.cvs
Message-ID <[email protected]>
Committed by Greg Sabino Mullane <greg-O9fzpki4YnJWk0Htik3J/[email protected]>

Adjust debugging to use new _slow macros.

---
 dbdimp.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dbdimp.c b/dbdimp.c
index 43293a4..10a5225 100644
--- a/dbdimp.c
+++ b/dbdimp.c
@@ -3739,11 +3739,11 @@ void dbd_st_destroy (SV * sth, imp_sth_t * imp_sth)
 
 	/* If the AutoInactiveDestroy flag has been set, we go no further */
 	if (DBIc_AIADESTROY(imp_dbh)) {
-		if (TRACE4) {
-			TRC(DBILOGFP, "%sskipping sth destroy due to AutoInactiveDestroy\n", THEADER);
+		if (TRACE4_slow) {
+			TRC(DBILOGFP, "%sskipping sth destroy due to AutoInactiveDestroy\n", THEADER_slow);
 		}
 		DBIc_IMPSET_off(imp_sth); /* let DBI know we've done it */
-		if (TEND) TRC(DBILOGFP, "%sEnd dbd_st_destroy (AutoInactiveDestroy set)\n", THEADER);
+		if (TEND_slow) TRC(DBILOGFP, "%sEnd dbd_st_destroy (AutoInactiveDestroy set)\n", THEADER_slow);
 		return;
 	}
 
-- 
1.8.4