From: <si...@us...> - 2006-05-22 11:31:55
|
Revision: 863 Author: sickpig Date: 2006-05-22 04:31:38 -0700 (Mon, 22 May 2006) ViewCVS: http://svn.sourceforge.net/yaacs/?rev=863&view=rev Log Message: ----------- * add debug log to getNumTuples Modified Paths: -------------- trunk/yaacs/yadb.tcl Modified: trunk/yaacs/yadb.tcl =================================================================== --- trunk/yaacs/yadb.tcl 2006-05-22 11:05:41 UTC (rev 862) +++ trunk/yaacs/yadb.tcl 2006-05-22 11:31:38 UTC (rev 863) @@ -158,6 +158,7 @@ # @param sql an SQL statement to be executed # @return the number of rows produced by the query qry. On error return -1. proc ::yadb::getNumTuples {db sql} { + ::yalog::debugdb "sql: $sql\n" set qry [::yadb::exec $db $sql] if { $qry == -1 } { return -1 } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |