From 92576d2bc0bb6dbf1e59e69b820ec2c38f1e1e6d Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Wed, 4 Feb 2009 20:06:28 +0000 Subject: [PATCH] olcDatabase needs X-SORTED 'SIBLINGS' index --- servers/slapd/overlays/pcache.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- 2.39.5