mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-27 10:09:43 -05:00
Missed a spot where root DN_SUBTREE index was still getting written.
This commit is contained in:
parent
66266f9c25
commit
efa14463ec
1 changed files with 2 additions and 0 deletions
|
|
@ -73,6 +73,8 @@ bdb_dn2id_add(
|
|||
int i;
|
||||
((char *)key.data)[0] = DN_SUBTREE_PREFIX;
|
||||
for( i=0; subtree[i] != NULL; i++ ) {
|
||||
if (be_issuffix(be, subtree[i]))
|
||||
continue;
|
||||
key.size = strlen( subtree[i] ) + 2;
|
||||
AC_MEMCPY( &((char *)key.data)[1],
|
||||
subtree[i], key.size - 1 );
|
||||
|
|
|
|||
Loading…
Reference in a new issue