mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 19:35:51 +00:00
d4d7e1babe
This patch introduces a notion of "changed" count during bookmark deletions, and firms up our deletion logic to ensure we're counting affected records correctly. Changes are mostly clearer comments describing what's going on, as well tests to ensure we're doing the right thing. One logical change is that this patch drops an additional call to updateBookmarks. AFAIK, that call is unnecessary. It doesn't achieve its stated goal of writing first (it performs a select first), and since we're doing a deletion, the "bump timestamps of an old parent in case parent changed" logic is unused). MozReview-Commit-ID: 9B1FW9pgsf1 --HG-- extra : rebase_source : dd8f10c58fd0042f94072bb99c28dc4545165dd5 |
||
---|---|---|
.. | ||
android | ||
locales |