diff options
author | Xin LI <delphij@FreeBSD.org> | 2009-06-24 01:14:17 +0000 |
---|---|---|
committer | Xin LI <delphij@FreeBSD.org> | 2009-06-24 01:14:17 +0000 |
commit | fc35a1848136d42857d99aafe953c67781e37bbf (patch) | |
tree | cafbe0250780abdd3d5bb11d0d8963c5968f8b48 | |
parent | 66a9ad5d1022588fea43fc941e3b8b361cbbc55d (diff) |
Notes
-rw-r--r-- | lib/libc/db/btree/bt_split.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/db/btree/bt_split.c b/lib/libc/db/btree/bt_split.c index 18cd0ed4bff4..f9cb4d6a29c6 100644 --- a/lib/libc/db/btree/bt_split.c +++ b/lib/libc/db/btree/bt_split.c @@ -644,8 +644,8 @@ bt_psplit(BTREE *t, PAGE *h, PAGE *l, PAGE *r, indx_t *pskip, size_t 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; } |