mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-13 10:22:56 -05:00
Fix segv with -q
This commit is contained in:
parent
0792415c92
commit
3218f6c110
1 changed files with 1 additions and 1 deletions
|
|
@ -340,7 +340,7 @@ static int bdb_tool_next_id(
|
|||
return 0;
|
||||
}
|
||||
|
||||
rc = bdb_cache_find_ndn( op, TXN_ID( tid ), &ndn, &ei );
|
||||
rc = bdb_cache_find_ndn( op, tid ? TXN_ID( tid ) : 0, &ndn, &ei );
|
||||
if ( ei ) bdb_cache_entryinfo_unlock( ei );
|
||||
if ( rc == DB_NOTFOUND ) {
|
||||
if ( !be_issuffix( op->o_bd, &ndn ) ) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue