From: Howard Chu Date: Mon, 28 Feb 2011 09:58:25 +0000 (+0000) Subject: ITS#6845 set sorted flag on newly created sorted attrs X-Git-Tag: MIGRATION_CVS2GIT~49 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=72888044256eef6fd0b81c9b3f74516c041c95a2;p=openldap ITS#6845 set sorted flag on newly created sorted attrs --- diff --git a/servers/slapd/value.c b/servers/slapd/value.c index c33ae1afc5..fa353e6b63 100644 --- a/servers/slapd/value.c +++ b/servers/slapd/value.c @@ -712,6 +712,7 @@ ordered_value_add( for ( ap=&e->e_attrs; *ap; ap = &(*ap)->a_next ) ; a = attr_alloc( ad ); *ap = a; + a->a_flags |= SLAP_ATTR_SORTED_VALS; } anum = a->a_numvals;