mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-26 04:09:50 +00:00

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