diff options
Diffstat (limited to 'db/btree/bt_split.c')
-rw-r--r-- | db/btree/bt_split.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/db/btree/bt_split.c b/db/btree/bt_split.c index 4484219ae2..4119ccbf79 100644 --- a/db/btree/bt_split.c +++ b/db/btree/bt_split.c @@ -674,8 +674,8 @@ bt_psplit(t, h, l, r, pskip, ilen) * where we decide to try and copy too much onto the left page. * Make sure that doesn't happen. */ - if (skip <= off && - used + nbytes + sizeof(indx_t) >= full || nxt == top - 1) { + if ((skip <= off && used + nbytes + sizeof(indx_t) >= full) + || nxt == top - 1) { --off; break; } |