mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-26 09:39:45 -05:00
ITS#9526 slapd-mdb tools: fix cursor init check
This commit is contained in:
parent
7df2a0f394
commit
8f392914ca
1 changed files with 2 additions and 0 deletions
|
|
@ -675,6 +675,8 @@ ID mdb_tool_entry_put(
|
|||
text->bv_val );
|
||||
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