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

libraries/liblmdb/mdb.c

index 621cbcfa8ff5cb65dae643b97828e9e7ec2b76bc..e6cae8edf279194e7979294f6439d0c9cf517ae7 100644 (file)
@@ -8527,10 +8527,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)