mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-22 07:39:35 -05:00
olcDatabase needs X-SORTED 'SIBLINGS' index
This commit is contained in:
parent
53683a33d6
commit
92576d2bc0
1 changed files with 2 additions and 1 deletions
|
|
@ -2737,7 +2737,8 @@ pc_cfadd( Operation *op, SlapReply *rs, Entry *p, ConfigArgs *ca )
|
||||||
|
|
||||||
/* FIXME: should not hardcode "olcDatabase" here */
|
/* FIXME: should not hardcode "olcDatabase" here */
|
||||||
bv.bv_len = snprintf( ca->cr_msg, sizeof( ca->cr_msg ),
|
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 ) ) {
|
if ( bv.bv_len >= sizeof( ca->cr_msg ) ) {
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue