]> git.sur5r.net Git - openldap/commit
Allow mdb_cursor_close() after readonly txn ends.
authorHallvard Furuseth <hallvard@openldap.org>
Sat, 4 May 2013 10:34:02 +0000 (12:34 +0200)
committerHallvard Furuseth <hallvard@openldap.org>
Sat, 4 May 2013 10:34:02 +0000 (12:34 +0200)
commit385889b0bee53b355f64d1749ba1e7788f7c66cb
tree97ae614cb0ace5a2b2cb46582490e9152ed8dbdb
parent17ffe9c9922082d15f76d43c853c1bc5da517a3e
Allow mdb_cursor_close() after readonly txn ends.

Catch mdb_cursor_renew(write txn's cursor).  Add flag C_UNTRACK, so
mdb_cursor_close need not peek inside a possibly-freed readonly txn.
libraries/liblmdb/mdb.c