]> git.sur5r.net Git - openldap/commitdiff
In slap_mods_check, always compare ordering index first
authorHoward Chu <hyc@openldap.org>
Tue, 4 Aug 2009 02:42:20 +0000 (02:42 +0000)
committerHoward Chu <hyc@openldap.org>
Tue, 4 Aug 2009 02:42:20 +0000 (02:42 +0000)
servers/slapd/modify.c

index 2710ffe79969d1491d9aec60b0311fed60495063..e4f4ff4cd14656b218191a7979527f258b659a22 100644 (file)
@@ -690,7 +690,7 @@ slap_sort_vals(
 #define        SWAP(a,b,tmp)   tmp=(a);(a)=(b);(b)=tmp
 #define        COMP(a,b)       match=0; rc = ordered_value_match( &match, \
                                                ad, mr, SLAP_MR_EQUALITY \
-                                                               | SLAP_MR_VALUE_OF_ATTRIBUTE_SYNTAX \
+                                                               | SLAP_MR_VALUE_OF_ASSERTION_SYNTAX \
                                                                | SLAP_MR_ASSERTED_VALUE_NORMALIZED_MATCH \
                                                                | SLAP_MR_ATTRIBUTE_VALUE_NORMALIZED_MATCH, \
                                                                &(a), &(b), text );