Limit number of imported places, not number of imported rows. Default to 1000.

This commit is contained in:
Richard Newman 2016-08-18 13:45:18 -07:00
parent 2f324cfe17
commit 2754104794

View file

@ -93,7 +93,7 @@
places-connection places-connection
["SELECT DISTINCT p.id AS id, p.url AS url, p.title AS title, p.visit_count, p.last_visit_date, p.guid, ["SELECT DISTINCT p.id AS id, p.url AS url, p.title AS title, p.visit_count, p.last_visit_date, p.guid,
hv.visit_date hv.visit_date
FROM moz_places AS p LEFT JOIN moz_historyvisits AS hv ON p.id = hv.place_id FROM (SELECT * FROM moz_places LIMIT 1000) AS p LEFT JOIN moz_historyvisits AS hv ON p.id = hv.place_id
WHERE p.hidden = 0 WHERE p.hidden = 0
ORDER BY p.id, hv.visit_date"]))] ORDER BY p.id, hv.visit_date"]))]
(<? (<?