]> git.sur5r.net Git - openldap/commit
Tweak mdb_page_malloc(),mdb_page_get() semantics.
authorHallvard Furuseth <hallvard@openldap.org>
Mon, 20 May 2013 21:12:26 +0000 (23:12 +0200)
committerHallvard Furuseth <hallvard@openldap.org>
Mon, 20 May 2013 21:12:26 +0000 (23:12 +0200)
commit5bdf2aae6ee0c8bdcd6a7759bd098d6531c668a0
tree86c11a580283933e260920a55e68c061ee937bd7
parent2eb50b1d2ed61dedf33a9d89ef25e0ba853f5f81
Tweak mdb_page_malloc(),mdb_page_get() semantics.

mdb_page_malloc(): Add "number of pages" parameter.
mdb_page_get(): Add output param for how page was found.
Do not set return params on error.
mdb_cursor_put(): Catch mdb_page_get() error.

Prepares for next commit, no change in caller behavior other
than on mdb_page_get error.
libraries/liblmdb/mdb.c