|
|
@ -8139,7 +8139,9 @@ mdb_env_cwalk(mdb_copy *my, pgno_t pg) |
|
|
|
unsigned n; |
|
|
|
unsigned n; |
|
|
|
mp = mc.mc_pg[mc.mc_top]; |
|
|
|
mp = mc.mc_pg[mc.mc_top]; |
|
|
|
n = NUMKEYS(mp); |
|
|
|
n = NUMKEYS(mp); |
|
|
|
|
|
|
|
|
|
|
|
if (IS_LEAF(mp)) { |
|
|
|
if (IS_LEAF(mp)) { |
|
|
|
|
|
|
|
if (!IS_LEAF2(mp)) { |
|
|
|
for (i=0; i<n; i++) { |
|
|
|
for (i=0; i<n; i++) { |
|
|
|
ni = NODEPTR(mp, i); |
|
|
|
ni = NODEPTR(mp, i); |
|
|
|
if (ni->mn_flags & F_BIGDATA) { |
|
|
|
if (ni->mn_flags & F_BIGDATA) { |
|
|
@ -8176,6 +8178,7 @@ mdb_env_cwalk(mdb_copy *my, pgno_t pg) |
|
|
|
toggle = my->mc_toggle; |
|
|
|
toggle = my->mc_toggle; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
mc.mc_ki[mc.mc_top]++; |
|
|
|
mc.mc_ki[mc.mc_top]++; |
|
|
|
if (mc.mc_ki[mc.mc_top] < n) { |
|
|
|
if (mc.mc_ki[mc.mc_top] < n) { |
|
|
|