]>
Commit | Line | Data |
---|---|---|
96533aa0 JB |
1 | *** btree/bt_rec.c.orig Tue Mar 22 09:41:49 2005 |
2 | --- btree/bt_rec.c Tue Mar 22 09:42:11 2005 | |
3 | *************** | |
4 | *** 222,228 **** | |
5 | * previous-page pointer updated to our new page. The next | |
6 | * page must exist because we're redoing the operation. | |
7 | */ | |
8 | ! if (!rootsplit && !IS_ZERO_LSN(argp->nlsn)) { | |
9 | if ((ret = | |
10 | __memp_fget(mpf, &argp->npgno, 0, &np)) != 0) { | |
11 | ret = __db_pgerr(file_dbp, argp->npgno, ret); | |
12 | --- 222,228 ---- | |
13 | * previous-page pointer updated to our new page. The next | |
14 | * page must exist because we're redoing the operation. | |
15 | */ | |
16 | ! if (!rootsplit && argp->npgno != PGNO_INVALID) { | |
17 | if ((ret = | |
18 | __memp_fget(mpf, &argp->npgno, 0, &np)) != 0) { | |
19 | ret = __db_pgerr(file_dbp, argp->npgno, ret); | |
20 | *************** | |
21 | *** 294,300 **** | |
22 | * possible that the next-page never existed, we ignore it as | |
23 | * if there's nothing to undo. | |
24 | */ | |
25 | ! if (!rootsplit && !IS_ZERO_LSN(argp->nlsn)) { | |
26 | if ((ret = | |
27 | __memp_fget(mpf, &argp->npgno, 0, &np)) != 0) { | |
28 | np = NULL; | |
29 | --- 294,300 ---- | |
30 | * possible that the next-page never existed, we ignore it as | |
31 | * if there's nothing to undo. | |
32 | */ | |
33 | ! if (!rootsplit && argp->npgno != PGNO_INVALID) { | |
34 | if ((ret = | |
35 | __memp_fget(mpf, &argp->npgno, 0, &np)) != 0) { | |
36 | np = NULL; |