From acd888b9de655ba3739817fe5781eb553484c665 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Wed, 19 Aug 2009 23:46:37 +0000 Subject: [PATCH] child DB should have ordering prefix --- servers/slapd/overlays/translucent.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/servers/slapd/overlays/translucent.c b/servers/slapd/overlays/translucent.c index f7c443631f..4ec20a31a8 100644 --- a/servers/slapd/overlays/translucent.c +++ b/servers/slapd/overlays/translucent.c @@ -158,7 +158,8 @@ translucent_cfadd( Operation *op, SlapReply *rs, Entry *e, ConfigArgs *ca ) /* FIXME: should not hardcode "olcDatabase" here */ bv.bv_len = snprintf( ca->cr_msg, sizeof( ca->cr_msg ), - "olcDatabase=%s", ov->db.bd_info->bi_type ); + "olcDatabase=" SLAP_X_ORDERED_FMT "%s", + 0, ov->db.bd_info->bi_type ); if ( bv.bv_len >= sizeof( ca->cr_msg ) ) { return -1; } -- 2.39.5