mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-18 18:18:06 -05:00
ITS#9526 slapd-mdb tools: fix cursor init check
This commit is contained in:
parent
49dbdfa424
commit
20af42dfb7
1 changed files with 2 additions and 0 deletions
|
|
@ -649,6 +649,8 @@ ID mdb_tool_entry_put(
|
|||
text->bv_val, 0, 0 );
|
||||
return NOID;
|
||||
}
|
||||
}
|
||||
if ( !idcursor ) {
|
||||
rc = mdb_cursor_open( mdb_tool_txn, mdb->mi_id2entry, &idcursor );
|
||||
if( rc != 0 ) {
|
||||
snprintf( text->bv_val, text->bv_len,
|
||||
|
|
|
|||
Loading…
Reference in a new issue