Roan Kattouw <> changed:

           What    |Removed                     |Added
                 CC|                            |

--- Comment #4 from Roan Kattouw <> 2010-12-31 21:07:31 
UTC ---
(In reply to comment #3)
> As Roan suggests, this should be fixed by storing paths more redundantly, so
> the LIKE can be made into an equality check.  Otherwise there's no way to get
> it to play nice with the grouping/ordering.

Elaborating on my suggestion on IRC:

Currently we only store the path of each changed file in the paths table. If
instead we also stored the paths of all of their ancestors, we could simply do
WHERE cp_path='/trunk/phase3' instead of WHERE cp_path LIKE '/trunk/phase3%' ,
which will search directories recursively.

For example, for a commit that touches ApiQueryBase.php and MessagesEn.php,
we'd store the following paths:


This would improve query performance at the expense of table size.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

Wikibugs-l mailing list

Reply via email to