stable

Clone or download

Read-only

fix: request #40097 Missing index on value_id for List bind decorator SQL table

How to test: SQL queries selecting a list color at a certain changeset for an artifact should be faster and use the index. For example, if you write a Cross-Tracker search expert query that SELECTs on @status or any static list field, if you echo the query [0] and parameters, and you add EXPLAIN, you should see that MySQL uses the index instead of ALL. [0] See CrossTrackerExpertQueryReportDao::searchArtifactsColumnsMatchingIds Change-Id: I97fc84ae014bfa61155e3cabcf4580de49d79fde

Modified Files

Name
M plugins/tracker/db/install.sql +2 −2 Go to diff View file
A plugins/tracker/db/mysql/updates/2024/202410231610_add_index_on_list_bind_decorator.php +35 −0 Go to diff View file