From 50688c960c850246e426ff59acbb48ea9dae2eed Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Tue, 4 Aug 2009 02:42:20 +0000 Subject: [PATCH] In slap_mods_check, always compare ordering index first --- servers/slapd/modify.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slapd/modify.c b/servers/slapd/modify.c index 2710ffe799..e4f4ff4cd1 100644 --- a/servers/slapd/modify.c +++ b/servers/slapd/modify.c @@ -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 ); -- 2.39.5