]> git.ipfire.org Git - thirdparty/openldap.git/commit
XCURSOR_REFRESH() fixups/cleanup
authorHallvard Furuseth <hallvard@openldap.org>
Sun, 10 Sep 2017 21:59:35 +0000 (23:59 +0200)
committerHoward Chu <hyc@openldap.org>
Sat, 10 Oct 2020 12:09:39 +0000 (13:09 +0100)
commit5601781247bfd132998ed03fa6e24e7035ae383a
treec8a9e02ed2f2215f2d58ce6cafeacfbd6207d201
parent2b397001a8cc451b9e09bda205c7191a31b781a7
XCURSOR_REFRESH() fixups/cleanup

* Check NUMKEYS(), similar to f34b61f9471d1c03fe0517b9d817c50c920e378a
  "ITS#8722 fix FIRST_DUP/LAST_DUP cursor bounds check".
* Move XCURSOR_INITED() into XCURSOR_REFRESH().  This adds a check in
  mdb_cursor_put, below /* converted, write the original data first */.
* Factor mc_ki[] out to XCURSOR_REFRESH().
* Replace an mc_pg[] with mp which is equal (mdb_cursor_del0).
libraries/liblmdb/mdb.c