From: Howard Chu Date: Thu, 23 Feb 2012 20:08:53 +0000 (-0800) Subject: More for ITS#7170 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9b9f4984f00d930e9c9dc4281eee802a3247191a;p=openldap More for ITS#7170 --- diff --git a/servers/slapd/back-mdb/idl.c b/servers/slapd/back-mdb/idl.c index 29a3796345..009667f59a 100644 --- a/servers/slapd/back-mdb/idl.c +++ b/servers/slapd/back-mdb/idl.c @@ -518,6 +518,7 @@ mdb_idl_insert_keys( } } } else if ( rc == MDB_NOTFOUND ) { + flag &= ~MDB_APPEND; put1: data.mv_data = &id; data.mv_size = sizeof(ID); rc = mdb_cursor_put( cursor, &key, &data, flag );