feedbrowser_cache: add limit

This commit is contained in:
Andrew Dolgov 2009-01-20 11:03:35 +01:00
parent 931dcbc137
commit d460f7aa5d
1 changed files with 1 additions and 1 deletions

View File

@ -5801,7 +5801,7 @@
FROM ttrss_feeds WHERE (SELECT COUNT(id) = 0 FROM ttrss_feeds AS tf FROM ttrss_feeds WHERE (SELECT COUNT(id) = 0 FROM ttrss_feeds AS tf
WHERE tf.feed_url = ttrss_feeds.feed_url WHERE tf.feed_url = ttrss_feeds.feed_url
AND (private IS true OR feed_url LIKE '%:%@%/%')) AND (private IS true OR feed_url LIKE '%:%@%/%'))
GROUP BY feed_url, title ORDER BY subscribers DESC"); GROUP BY feed_url, title ORDER BY subscribers DESC LIMIT 1000");
db_query($link, "BEGIN"); db_query($link, "BEGIN");