summaryrefslogtreecommitdiffstats
path: root/src/util/db2/btree/bt_put.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/db2/btree/bt_put.c')
-rw-r--r--src/util/db2/btree/bt_put.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util/db2/btree/bt_put.c b/src/util/db2/btree/bt_put.c
index 2feebce0c8..139a7fc369 100644
--- a/src/util/db2/btree/bt_put.c
+++ b/src/util/db2/btree/bt_put.c
@@ -223,7 +223,7 @@ delete: if (__bt_dleaf(t, key, h, index) == RET_ERROR) {
t->bt_cursor.pg.pgno == h->pgno && t->bt_cursor.pg.index >= index)
++t->bt_cursor.pg.index;
- if (t->bt_order == NOT)
+ if (t->bt_order == NOT) {
if (h->nextpg == P_INVALID) {
if (index == NEXTINDEX(h) - 1) {
t->bt_order = FORWARD;
@@ -237,6 +237,7 @@ delete: if (__bt_dleaf(t, key, h, index) == RET_ERROR) {
t->bt_last.pgno = h->pgno;
}
}
+ }
mpool_put(t->bt_mp, h, MPOOL_DIRTY);