Fix stale sub-cursor C_INIT flag
authorHoward Chu <hyc@symas.com>
Sun, 14 Jul 2013 15:20:18 +0000 (08:20 -0700)
committerHoward Chu <hyc@symas.com>
Sun, 14 Jul 2013 15:20:18 +0000 (08:20 -0700)
commit56a41d87d42568328413f6e2a6197c2ae0dc67bd
treefc8e5e49de2193040f587d6660e321df861fea97
parent8ae56c34d537f93d6dc2e7f84fa45d09b42f05ac
Fix stale sub-cursor C_INIT flag

Whenever we enter cursor_set() the sub-cursor's flag must be
cleared. If the new cursor position has valid subdata it will
be initialized again, if not then the sub-cursor has nothing
to point to.
libraries/liblmdb/mdb.c