mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
ITS#3267 add a comment
This commit is contained in:
parent
8feffa6091
commit
dbb5d00908
@ -235,6 +235,10 @@ static int bdb_tool_next_id(
|
|||||||
if ( rc ) {
|
if ( rc ) {
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
/* If parent didn't exist, it was created just now
|
||||||
|
* and its ID is now in e->e_id. Make sure the current
|
||||||
|
* entry gets added under the new parent ID.
|
||||||
|
*/
|
||||||
if ( eid != e->e_id ) {
|
if ( eid != e->e_id ) {
|
||||||
eidummy.bei_id = e->e_id;
|
eidummy.bei_id = e->e_id;
|
||||||
ei = &eidummy;
|
ei = &eidummy;
|
||||||
|
Loading…
Reference in New Issue
Block a user