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)

task

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.

Priority: -- → P3
Whiteboard: [sng]
Assignee: nobody → cachan
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 155 Branch
QA Whiteboard: [qa-triage-done-c156/b155]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: