]> git.sur5r.net Git - openldap/commitdiff
olcDatabase needs X-SORTED 'SIBLINGS' index
authorPierangelo Masarati <ando@openldap.org>
Wed, 4 Feb 2009 20:06:28 +0000 (20:06 +0000)
committerPierangelo Masarati <ando@openldap.org>
Wed, 4 Feb 2009 20:06:28 +0000 (20:06 +0000)
servers/slapd/overlays/pcache.c

index 235d0f9c2aa006ee20f913f03032299b49450bb2..49d4d9c1ca2c7c58d4d1cbb27d2c423bc7f4a936 100644 (file)
@@ -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;
        }