summaryrefslogtreecommitdiff
path: root/patch.1.2
blob: a3439090f125439de97499d9c2fa13fd4e013f2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
*** btree/bt_split.c	Tue Jul 26 14:22:02 1994
--- btree/bt_split.c	Sat Jan  4 14:38:55 1997
***************
*** 673,679 ****
  		 * where we decide to try and copy too much onto the left page.
  		 * Make sure that doesn't happen.
  		 */
! 		if (skip <= off && used + nbytes >= full) {
  			--off;
  			break;
  		}
--- 673,679 ----
  		 * where we decide to try and copy too much onto the left page.
  		 * Make sure that doesn't happen.
  		 */
! 		if (skip <= off && used + nbytes >= full || nxt == top - 1) {
  			--off;
  			break;
  		}