1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-01-19 19:05:27 +00:00

optimize catchup selected, add CatchupSelected subop in viewfeed

This commit is contained in:
Andrew Dolgov
2006-09-19 05:14:27 +01:00
parent 39ddbaa1c4
commit 472782e8bf
4 changed files with 36 additions and 18 deletions

2
db.php
View File

@@ -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;