Closed Bug 1970652 Opened 13 days ago Closed 9 days ago

Move SQL comment to beginning of SQL statement so it is not truncated away in Googles Query Insights

Categories

(bugzilla.mozilla.org :: Infrastructure, task)

Production

Tracking

()

RESOLVED FIXED

People

(Reporter: dkl, Assigned: dkl)

Details

Attachments

(1 file)

Currently we add a comment to the SQL statement to help identify search criteria that is causing long running queries when doing bug searches. We also show other information. Due to how Query Insights will truncate SQL statements longer than 4095 characters currently (soon to be 1MB) the comment sometimes is missing as it is added to the end of the query instead of the beginning. Moving it to the beginning will make sure it is always visible.

Authored by https://github.com/dklawren
https://github.com/mozilla-bteam/bmo/commit/f7d6c151180d475cae317d0ff2798de749d503d6
[master] Bug 1970652 - Move SQL comment to beginning of SQL statement so it is not truncated away in Googles Query Insights

Status: ASSIGNED → RESOLVED
Closed: 9 days ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: