|
|
@ -7598,6 +7598,8 @@ mdb_node_move(MDB_cursor *csrc, MDB_cursor *cdst) |
|
|
|
MDB_dbi dbi = csrc->mc_dbi; |
|
|
|
MDB_dbi dbi = csrc->mc_dbi; |
|
|
|
MDB_page *mp; |
|
|
|
MDB_page *mp; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* If we're adding on the left, bump others up */ |
|
|
|
|
|
|
|
if (!cdst->mc_ki[csrc->mc_top]) { |
|
|
|
mp = cdst->mc_pg[csrc->mc_top]; |
|
|
|
mp = cdst->mc_pg[csrc->mc_top]; |
|
|
|
for (m2 = csrc->mc_txn->mt_cursors[dbi]; m2; m2=m2->mc_next) { |
|
|
|
for (m2 = csrc->mc_txn->mt_cursors[dbi]; m2; m2=m2->mc_next) { |
|
|
|
if (csrc->mc_flags & C_SUB) |
|
|
|
if (csrc->mc_flags & C_SUB) |
|
|
@ -7610,6 +7612,7 @@ mdb_node_move(MDB_cursor *csrc, MDB_cursor *cdst) |
|
|
|
m3->mc_ki[csrc->mc_top]++; |
|
|
|
m3->mc_ki[csrc->mc_top]++; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
mp = csrc->mc_pg[csrc->mc_top]; |
|
|
|
mp = csrc->mc_pg[csrc->mc_top]; |
|
|
|
for (m2 = csrc->mc_txn->mt_cursors[dbi]; m2; m2=m2->mc_next) { |
|
|
|
for (m2 = csrc->mc_txn->mt_cursors[dbi]; m2; m2=m2->mc_next) { |
|
|
|