summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2009-01-20 11:03:35 +0100
committerAndrew Dolgov <[email protected]>2009-01-20 11:03:35 +0100
commitd460f7aa5dd527e29cf45dfea026e95a4ead36da (patch)
treeaca4d7e8cad0eb0194dd59b7fc80f85dd04aec57 /functions.php
parent931dcbc137e085cf6d07a4aa7ef3ca7f77450532 (diff)
feedbrowser_cache: add limit
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions.php b/functions.php
index 5d965eed1..d80c6fb5e 100644
--- a/functions.php
+++ b/functions.php
@@ -5801,7 +5801,7 @@
FROM ttrss_feeds WHERE (SELECT COUNT(id) = 0 FROM ttrss_feeds AS tf
WHERE tf.feed_url = ttrss_feeds.feed_url
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");