Sophie

Sophie

distrib > Mandriva > 2007.0 > x86_64 > by-pkgid > b0cc1e3379830da9e41fcc2afd6c3978 > files > 50

openldap-2.3.27-1mdv2007.0.src.rpm

*** 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;