mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-22 07:39:35 -05:00
ITS#8334 Fix MDB_APPENDDUP vs. rewrite(single item)
This commit is contained in:
parent
03f1c12bbe
commit
25fd09df6d
1 changed files with 1 additions and 1 deletions
|
|
@ -6491,7 +6491,7 @@ more:
|
||||||
#endif
|
#endif
|
||||||
/* does data match? */
|
/* does data match? */
|
||||||
if (!dcmp(data, &olddata)) {
|
if (!dcmp(data, &olddata)) {
|
||||||
if (flags & MDB_NODUPDATA)
|
if (flags & (MDB_NODUPDATA|MDB_APPENDDUP))
|
||||||
return MDB_KEYEXIST;
|
return MDB_KEYEXIST;
|
||||||
/* overwrite it */
|
/* overwrite it */
|
||||||
goto current;
|
goto current;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue