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