Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 3.1.4
-
Fix Version/s: 3.2
-
Component/s: Core CiviCRM
-
Labels:None
Description
For some reason MySQL does not use existing indices when searching/comparing substrings (via SUBSTR(field, 1, lenght) - so even when they are at the beginning of a given field).
In the case of substring-based dedupe rules we should create appropriate (substring-based) indices instead the current full-width ones.