Added tizen packaging
[platform/upstream/libdb.git] / packaging / patch.1.3
1 *** btree/bt_split.c.orig       Sat Feb  8 10:14:10 1997
2 --- btree/bt_split.c    Sat Feb  8 10:14:51 1997
3 ***************
4 *** 673,679 ****
5                  * where we decide to try and copy too much onto the left page.
6                  * Make sure that doesn't happen.
7                  */
8 !               if (skip <= off && used + nbytes >= full || nxt == top - 1) {
9                         --off;
10                         break;
11                 }
12 --- 673,680 ----
13                  * where we decide to try and copy too much onto the left page.
14                  * Make sure that doesn't happen.
15                  */
16 !               if (skip <= off &&
17 !                   used + nbytes + sizeof(indx_t) >= full || nxt == top - 1) {
18                         --off;
19                         break;
20                 }
21 ***************
22 *** 686,692 ****
23                         memmove((char *)l + l->upper, src, nbytes);
24                 }
25   
26 !               used += nbytes;
27                 if (used >= half) {
28                         if (!isbigkey || bigkeycnt == 3)
29                                 break;
30 --- 687,693 ----
31                         memmove((char *)l + l->upper, src, nbytes);
32                 }
33   
34 !               used += nbytes + sizeof(indx_t);
35                 if (used >= half) {
36                         if (!isbigkey || bigkeycnt == 3)
37                                 break;