[svn:DBD-Pg] r14718 - DBD-Pg/trunk

[email protected]
Newsgroups gmane.comp.db.postgresql.dbdpg.cvs
Message-ID <[email protected]>
Author: turnstep
Date: Wed Feb 23 13:22:53 2011
New Revision: 14718

Modified:
   DBD-Pg/trunk/dbdimp.c

Log:
Show "current" in PQexec decision debug.


Modified: DBD-Pg/trunk/dbdimp.c
==============================================================================
--- DBD-Pg/trunk/dbdimp.c	(original)
+++ DBD-Pg/trunk/dbdimp.c	Wed Feb 23 13:22:53 2011
@@ -3014,14 +3014,15 @@
 	   6b. All placeholders are bound (and "pg_server_prepare" is 2)
 	*/
 	if (TRACE4) TRC(DBILOGFP,
-					"%sPQexec* decision: dml=%d direct=%d server_prepare=%d numbound=%d numphs=%d default=%d\n",
+					"%sPQexec* decision: dml=%d direct=%d server_prepare=%d numbound=%d numphs=%d default=%d current=%d\n",
 					THEADER, 
 					imp_sth->is_dml,
 					imp_sth->direct,
 					imp_sth->server_prepare,
 					imp_sth->numbound,
 					imp_sth->numphs,
-					imp_sth->has_default);
+					imp_sth->has_default,
+					imp_sth->has_current);
 
 	if (imp_sth->is_dml
 		&& !imp_sth->direct
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.