Skip to content
Snippets Groups Projects
Commit dbb5d009 authored by Howard Chu's avatar Howard Chu
Browse files

ITS#3267 add a comment

parent 8feffa60
No related branches found
No related tags found
No related merge requests found
......@@ -235,6 +235,10 @@ static int bdb_tool_next_id(
if ( 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 ) {
eidummy.bei_id = e->e_id;
ei = &eidummy;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment