Update of /cvsroot/php-blog/serendipity
In directory sc8-pr-cvs1:/tmp/cvs-serv13268
Modified Files:
serendipity_db_postgres.inc.php
Log Message:
Added output of broken SQL under debug
Index: serendipity_db_postgres.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/serendipity_db_postgres.inc.php,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- serendipity_db_postgres.inc.php 20 Sep 2003 03:43:56 -0000 1.8
+++ serendipity_db_postgres.inc.php 21 Jan 2004 07:24:40 -0000 1.9
@@ -53,6 +53,7 @@
if (!$serendipity['dbLastResult']) {
if (!$serendipity['production']) {
+ print "Error in $sql<br>\n";
print pg_last_error($serendipity['dbConn']);
if (function_exists('debug_backtrace')) {
highlight_string(var_export(debug_backtrace(), 1));
|