mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-28 18:49:34 -05:00
ITS#8334 Fix MDB_APPENDDUP vs. rewrite(single item)
This commit is contained in:
parent
c4e31434c7
commit
abb13ba176
1 changed files with 1 additions and 1 deletions
|
|
@ -6642,7 +6642,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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue