Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
openldap
OpenLDAP
Commits
8f392914
Commit
8f392914
authored
Apr 18, 2021
by
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/back-mdb/tools.c
View file @
8f392914
...
...
@@ -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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment