ITS#8321 Fix mdb_cursor_set
authorHoward Chu <hyc@openldap.org>
Mon, 23 Nov 2015 18:30:24 +0000 (18:30 +0000)
committerHoward Chu <hyc@openldap.org>
Tue, 24 Nov 2015 15:17:10 +0000 (15:17 +0000)
commitcf8677e1b827c3ba1303433c041840886a9b146e
tree3b93263ace13b8c798cd1ee27c2be4b2e47f6b41
parentb5ce8108e8bb92df00b2d27ef0e37bfe756d3752
ITS#8321 Fix mdb_cursor_set

Always reinit mc_pg[0] if cursor is not C_INITIALIZED
It might have a stale value when using nested txns
libraries/liblmdb/mdb.c