Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Joe Martin
OpenLDAP
Commits
25fd09df
Commit
25fd09df
authored
Dec 08, 2015
by
Hallvard Furuseth
Browse files
ITS#8334 Fix MDB_APPENDDUP vs. rewrite(single item)
parent
03f1c12b
Changes
1
Hide whitespace changes
Inline
Side-by-side
libraries/liblmdb/mdb.c
View file @
25fd09df
...
...
@@ -6491,7 +6491,7 @@ more:
#endif
/* does data match? */
if
(
!
dcmp
(
data
,
&
olddata
))
{
if
(
flags
&
MDB_NODUPDATA
)
if
(
flags
&
(
MDB_NODUPDATA
|
MDB_APPENDDUP
)
)
return
MDB_KEYEXIST
;
/* overwrite it */
goto
current
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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