Actions
Feature #42681
closedAvoid unnecessary SQL queries by reordering conditions in Gantt version subject rendering
Feature #42681:
Avoid unnecessary SQL queries by reordering conditions in Gantt version subject rendering
Resolution:
Fixed
Description
Version#due_date is a simple attribute, while Version#start_date triggers a SQL query to calculate the minimum start date among related issues.
By reordering the condition to check due_date before start_date, unnecessary queries can be avoided and performance slightly improved when due_date is not set.
Example:
Files
Updated by Go MAEDA over 1 year ago
- Status changed from New to Closed
- Assignee set to Go MAEDA
- Resolution set to Fixed
Committed the patch in r23746.
Actions