Bug 693451 - cannot use localized matching rules
https://bugzilla.redhat.com/show_bug.cgi?id=693451
Resolves: bug 693451
Bug Description: cannot use localized matching rules
Reviewed by: nkinder (Thanks!)
Branch: RHEL-6
Fix Description: With the new matching rule code, the old method of
identifying a simple matching rule that can use a compare function is
not valid. All of the collation plugin matching rules are ordering,
either ignore case or exact case. So we need another way to tell if
the matching rule can use a simple compare function to generate index
keys. The new function
int slapi_matchingrule_can_use_compare_fn(const char *mr_oid_or_name);
is used for this purpose. It looks up the oid of the matching rule and
compares it to the oids used by the collation plugin.
Platforms tested: RHEL6 x86_64
Flag Day: no
Doc impact: no
(cherry picked from commit cb2239082a27f00d470754e5924311bd9bee4b34)
(cherry picked from commit ee0ab6921fbc6a92a554faa3218c36851b5cfe30)