summaryrefslogtreecommitdiff
path: root/contrib/global/dbpatches/patch.1.2
diff options
context:
space:
mode:
authorHidetoshi Shimokawa <simokawa@FreeBSD.org>1999-01-18 06:59:18 +0000
committerHidetoshi Shimokawa <simokawa@FreeBSD.org>1999-01-18 06:59:18 +0000
commit3ba3e2cc4b63fa16707f51e735e751e62dd9526e (patch)
tree2d073c94248fff7dcaa8a3b1356933e1dcd784db /contrib/global/dbpatches/patch.1.2
parent0823b5bf088ea8520ea23a0c424e4ecab62491d5 (diff)
Notes
Diffstat (limited to 'contrib/global/dbpatches/patch.1.2')
-rw-r--r--contrib/global/dbpatches/patch.1.219
1 files changed, 19 insertions, 0 deletions
diff --git a/contrib/global/dbpatches/patch.1.2 b/contrib/global/dbpatches/patch.1.2
new file mode 100644
index 000000000000..a3439090f125
--- /dev/null
+++ b/contrib/global/dbpatches/patch.1.2
@@ -0,0 +1,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;
+ }