mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
1d52722744
This aims at speeding up DELETE FROM moz_places like queries. The primary reason of slowness is the FOR EACH ROW trigger that takes care of updating the moz_hosts table when places are removed. Unfortunately Sqlite doesn't support FOR EACH STATEMENT triggers, that means the trigger will hit multiple times for pages in the same host. The patch introduces an additional temp table to accumulate hosts during a delete, then a trigger takes care of updating moz_hosts only once per touched host, rather than once per removed place. MozReview-Commit-ID: BlJRLQZoC07 |
||
---|---|---|
.. | ||
components | ||
content | ||
crashreporter | ||
forgetaboutsite | ||
identity | ||
library | ||
locales | ||
modules | ||
mozapps | ||
obsolete | ||
pluginproblem | ||
profile | ||
system | ||
themes | ||
webapps | ||
xre | ||
.eslintrc | ||
moz.build | ||
toolkit.mozbuild |