Commit 8f392914 authored by Howard Chu's avatar Howard Chu
Browse files

ITS#9526 slapd-mdb tools: fix cursor init check

parent 7df2a0f3
Pipeline #2542 passed with stage
in 46 minutes and 18 seconds
......@@ -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,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment