Closed
Bug 2053826
Opened 2 months ago
Closed 1 month ago
Migrate BookmarkList#fetchTrackedUrls chunked IN-clause query to array binding
Categories
(Toolkit :: Places, task, P3)
Toolkit
Places
Tracking
()
RESOLVED
FIXED
155 Branch
| Tracking | Status | |
|---|---|---|
| firefox155 | --- | fixed |
People
(Reporter: cachan, Assigned: cachan)
References
(Blocks 1 open bug)
Details
(Whiteboard: [sng])
Attachments
(1 file)
Follow-up from the leftover-inventory audit in bug 2042102 (blocking meta bug 2042084). BookmarkList#fetchTrackedUrls (toolkit/components/places/BookmarkList.sys.mjs) chunks its urls input via PlacesUtils.chunkArray(urls, db.variableLimit) and manually builds a p.url_hash IN (?,?,...) clause (Array(chunk.length).fill("?").join(",")) for a query joining moz_bookmarks and moz_places.
Should be migrated to Sqlite.sys.mjs array binding (bug 1924124) instead of chunking + manual placeholder lists, following the pattern from already-landed sibling bugs.
Updated•1 month ago
|
Pushed by cachan@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/a19eb773c2c8
https://hg.mozilla.org/integration/autoland/rev/b94cf8c6f4f5
migrating fetchTrackedURLs to array binding. r=mak,places-reviewers
Status: NEW → RESOLVED
Closed: 1 month ago
status-firefox155:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 155 Branch
Updated•22 days ago
|
QA Whiteboard: [qa-triage-done-c156/b155]
You need to log in
before you can comment on or make changes to this bug.
Description
•