]> git.sur5r.net Git - openldap/commit
Simplify/cleanup mdb_cursor_init, C_ALLOCD.
authorHallvard Furuseth <hallvard@openldap.org>
Sat, 4 May 2013 10:53:43 +0000 (12:53 +0200)
committerHallvard Furuseth <hallvard@openldap.org>
Sat, 4 May 2013 10:53:43 +0000 (12:53 +0200)
commit0b9a2085302191a14ee14449c0987c5294be9026
tree89e17d2c49a6b4357fba28acdb09fbcdd8c55ede
parentf355de0298d2dc4f080fdc4f275a881bfecb0716
Simplify/cleanup mdb_cursor_init, C_ALLOCD.

No real change.
mdb_cursor_init() checks if it needs mx, so pass it unconditionally.
Set C_ALLOCD for shadow cursors, for clarity. (It was always set as
it should anyway from the origin cursor, which would have C_ALLOCD.)
libraries/liblmdb/mdb.c