From 72888044256eef6fd0b81c9b3f74516c041c95a2 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Mon, 28 Feb 2011 09:58:25 +0000 Subject: [PATCH] ITS#6845 set sorted flag on newly created sorted attrs --- servers/slapd/value.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.39.5