|
|
e4ffad |
*** btree/bt_split.c Tue Jul 26 14:22:02 1994
|
|
|
e4ffad |
--- btree/bt_split.c Sat Jan 4 14:38:55 1997
|
|
|
e4ffad |
***************
|
|
|
e4ffad |
*** 673,679 ****
|
|
|
e4ffad |
* where we decide to try and copy too much onto the left page.
|
|
|
e4ffad |
* Make sure that doesn't happen.
|
|
|
e4ffad |
*/
|
|
|
e4ffad |
! if (skip <= off && used + nbytes >= full) {
|
|
|
e4ffad |
--off;
|
|
|
e4ffad |
break;
|
|
|
e4ffad |
}
|
|
|
e4ffad |
--- 673,679 ----
|
|
|
e4ffad |
* where we decide to try and copy too much onto the left page.
|
|
|
e4ffad |
* Make sure that doesn't happen.
|
|
|
e4ffad |
*/
|
|
|
e4ffad |
! if (skip <= off && used + nbytes >= full || nxt == top - 1) {
|
|
|
e4ffad |
--off;
|
|
|
e4ffad |
break;
|
|
|
e4ffad |
}
|