summaryrefslogtreecommitdiff
path: root/db.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2006-09-19 05:14:27 +0100
committerAndrew Dolgov <[email protected]>2006-09-19 05:14:27 +0100
commit472782e8bff08df698a3c3f87ee3fc9f7e16b06f (patch)
treee6bb4a92194ab3046c7850237ac54cae8230606e /db.php
parent39ddbaa1c4067ebac770e7ed923dcee12dbfe3ce (diff)
optimize catchup selected, add CatchupSelected subop in viewfeed
Diffstat (limited to 'db.php')
-rw-r--r--db.php2
1 files changed, 1 insertions, 1 deletions
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 <i>$query</i> failed: " . pg_last_error($link));
+ die("Query <i>$query</i> failed [$result]: " . pg_last_error($link));
}
}
return $result;