https://fedorahosted.org/389/ticket/47530
https://fedorahosted.org/389/attachment/ticket/47530/0001-Ticket-47530-db...
Bug description:
{{{
1) commit bded3015acdd5c71f05ceb10f10af220a02e6f74 was not a complete
patch, which was failing in the case the entryrdn key is not given.
2) Coverity 13190: Logically dead code
}}}
Fix description:
{{{
1) If an entryrdn key is not given, it sets DB_NEXT to the db flag and
continues scanning the entryrdn index.
2) The unnecessary checking 0 for the return code rc is removed.
}}}