1 --- bt_split.c.orig 2009-11-06 12:39:34.000000000 -0800
2 +++ bt_split.c 2009-11-06 12:40:06.000000000 -0800
3 @@ -201,7 +201,7 @@ __bt_split(BTREE *t, PAGE *sp, const DBT
8 + LIBC_ABORT("illegal rchild->flags & P_TYPE (0x%x)", rchild->flags & P_TYPE);
11 /* Split the parent page if necessary or shift the indices. */
12 @@ -276,7 +276,7 @@ __bt_split(BTREE *t, PAGE *sp, const DBT
13 ((RINTERNAL *)dest)->pgno = rchild->pgno;
17 + LIBC_ABORT("illegal rchild->flags & P_TYPE (0x%x)", rchild->flags & P_TYPE);
20 /* Unpin the held pages. */
21 @@ -556,7 +556,7 @@ bt_broot(BTREE *t, PAGE *h, PAGE *l, PAG
22 ((BINTERNAL *)dest)->pgno = r->pgno;
26 + LIBC_ABORT("illegal h->flags & P_TYPE (0x%x)", h->flags & P_TYPE);
29 /* There are two keys on the page. */
30 @@ -635,7 +635,7 @@ bt_psplit(BTREE *t, PAGE *h, PAGE *l, PA
35 + LIBC_ABORT("illegal h->flags & P_TYPE (0x%x)", h->flags & P_TYPE);
39 @@ -728,7 +728,7 @@ bt_psplit(BTREE *t, PAGE *h, PAGE *l, PA
44 + LIBC_ABORT("illegal h->flags & P_TYPE (0x%x)", h->flags & P_TYPE);
47 r->linp[off] = r->upper -= nbytes;