]> git.sur5r.net Git - openldap/commit
XCURSOR_REFRESH() fixups/cleanup
authorHallvard Furuseth <hallvard@openldap.org>
Sun, 10 Sep 2017 21:59:35 +0000 (23:59 +0200)
committerHallvard Furuseth <hallvard@openldap.org>
Sun, 10 Sep 2017 21:59:35 +0000 (23:59 +0200)
commit7ead4169b6cdf67f72956a2835ff6e6bd6905256
tree359ef91297437538940eec9bab6aa19963e8f32a
parentfbdd452799b87f40709a48bb316d1df2735f4c9b
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