projects
/
platform
/
upstream
/
lmdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92fe958
)
ITS#7594 De-init other subcursors in page_touch
author
Howard Chu
<hyc@symas.com>
Thu, 23 May 2013 15:13:08 +0000
(08:13 -0700)
committer
Howard Chu
<hyc@symas.com>
Thu, 23 May 2013 19:17:21 +0000
(12:17 -0700)
libraries/liblmdb/mdb.c
patch
|
blob
|
history
diff --git
a/libraries/liblmdb/mdb.c
b/libraries/liblmdb/mdb.c
index
5558875
..
22c5a5c
100644
(file)
--- a/
libraries/liblmdb/mdb.c
+++ b/
libraries/liblmdb/mdb.c
@@
-1636,6
+1636,8
@@
finish:
if (m2 == mc || m2->mc_snum < mc->mc_snum) continue;
if (m2->mc_pg[mc->mc_top] == mc->mc_pg[mc->mc_top]) {
m2->mc_pg[mc->mc_top] = mp;
+ if (mc->mc_db->md_flags & MDB_DUPSORT)
+ m2->mc_xcursor->mx_cursor.mc_flags &= ~C_INITIALIZED;
}
}
}