Lina Cambridge 506e99cdb6 Bug 1588329 - Chunk bound params in bookmarks and history. r=mak
This commit builds on the last one to chunk all bound parameters.
In most cases, we just move the statements into a loop that
iterates over the chunks instead of the array. There are two
exceptions which need a bit more work: `cleanupPages` and `remove`.

In `cleanupPages`, we chunk `pagesToRemove`, and clean up
`moz_updateoriginsdelete_temp` and orphan icons after the loop. This
doesn't change functionality, because none of the statements that
follow depend on `moz_origins`, `moz_icons`, or frecency stats.

In `remove`, we now fetch page info for URLs and GUIDs in separate
statements. This makes chunking URL params easier.

Differential Revision: https://phabricator.services.mozilla.com/D49074

--HG--
extra : moz-landing-system : lando
2019-10-15 21:23:45 +00:00
..