From 472782e8bff08df698a3c3f87ee3fc9f7e16b06f Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 19 Sep 2006 05:14:27 +0100 Subject: optimize catchup selected, add CatchupSelected subop in viewfeed --- db.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'db.php') diff --git a/db.php b/db.php index 6d998bd6f..d8187fc3b 100644 --- a/db.php +++ b/db.php @@ -61,7 +61,7 @@ function db_query($link, $query, $die_on_error = true) { if (!$result) { $query = htmlspecialchars($query); // just in case if ($die_on_error) { - die("Query $query failed: " . pg_last_error($link)); + die("Query $query failed [$result]: " . pg_last_error($link)); } } return $result; -- cgit v1.2.3