From: Pierangelo Masarati Date: Wed, 4 Feb 2009 20:06:28 +0000 (+0000) Subject: olcDatabase needs X-SORTED 'SIBLINGS' index X-Git-Tag: ACLCHECK_0~888 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=92576d2bc0bb6dbf1e59e69b820ec2c38f1e1e6d;p=openldap olcDatabase needs X-SORTED 'SIBLINGS' index --- diff --git a/servers/slapd/overlays/pcache.c b/servers/slapd/overlays/pcache.c index 235d0f9c2a..49d4d9c1ca 100644 --- a/servers/slapd/overlays/pcache.c +++ b/servers/slapd/overlays/pcache.c @@ -2737,7 +2737,8 @@ pc_cfadd( Operation *op, SlapReply *rs, Entry *p, ConfigArgs *ca ) /* FIXME: should not hardcode "olcDatabase" here */ bv.bv_len = snprintf( ca->cr_msg, sizeof( ca->cr_msg ), - "olcDatabase=%s", cm->db.bd_info->bi_type ); + "olcDatabase=" SLAP_X_ORDERED_FMT "%s", + 0, cm->db.bd_info->bi_type ); if ( bv.bv_len >= sizeof( ca->cr_msg ) ) { return -1; }