]> 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:38:06 +0000 (23:38 +0000)
Was setting C_DEL flag gratuitously

libraries/liblmdb/mdb.c

index a96e96e0e32dfe794bb59c8a636fcb6bd7735a41..84a88db39d3ce8e38cac48e8cef4ddaa9036ba96 100644 (file)
@@ -9544,10 +9544,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)