summaryrefslogtreecommitdiff
path: root/patch.1.2
diff options
context:
space:
mode:
authorjk7744.park <jk7744.park@samsung.com>2015-10-23 15:11:57 +0900
committerjk7744.park <jk7744.park@samsung.com>2015-10-23 15:11:57 +0900
commitbb4826beb2528cfebcae9d15a794ae8988b2e571 (patch)
treec101aed69979b12c7678af348bad14afdc9e28b7 /patch.1.2
parent89032ff0d59b0e00e6ec3ead7b7a4b75cd6f208f (diff)
downloaddb4-accepted/tizen/2.4/base/20151026.095755.tar.gz
db4-accepted/tizen/2.4/base/20151026.095755.tar.bz2
db4-accepted/tizen/2.4/base/20151026.095755.zip
Diffstat (limited to 'patch.1.2')
-rw-r--r--patch.1.219
1 files changed, 19 insertions, 0 deletions
diff --git a/patch.1.2 b/patch.1.2
new file mode 100644
index 0000000..a343909
--- /dev/null
+++ b/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;
+ }