]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
ITS#9461 refix ITS#9376
authorHoward Chu <hyc@openldap.org>
Tue, 9 Feb 2021 23:38:06 +0000 (23:38 +0000)
committerHoward Chu <hyc@openldap.org>
Tue, 9 Feb 2021 23:39:15 +0000 (23:39 +0000)
Was setting C_DEL flag gratuitously

libraries/liblmdb/mdb.c

index 265656a9dc4c739ac9b7db378c4ff0f03ac822c8..4cc425fcfa13ea0636fe8fb710587a15d95a42e9 100644 (file)
@@ -10236,10 +10236,10 @@ mdb_cursor_del0(MDB_cursor *mc)
                                        }
                                        m3->mc_xcursor->mx_cursor.mc_flags |= C_DEL;
                                }
-                               m3->mc_flags |= C_DEL;
                        }
                }
        }
+       m3->mc_flags |= C_DEL;
 
 fail:
        if (rc)