Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimize create_cumulative_bydate() function
Until today, the function was executing simple SQL queries returning atomic data, and PHP code had to loop over each row to compute the total number of reported and resolved Issues. This reports the effort to aggregate the data on the database server, greatly simplifying the PHP code It also fixes a bug where the last resolved issue was sometimes not computed, resulting in an incorrect result set. Fixes #34041,#34042
- Loading branch information
Showing
1 changed file
with
52 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters