child DB should have ordering prefix

This commit is contained in:
Howard Chu 2009-08-19 23:46:37 +00:00
parent 9f13a2ae02
commit acd888b9de

View file

@ -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;
}