#define ACQUIRE ( dbc,
mode,
lpgno,
lock,
fpgno,
pagep,
ret   ) 

Value:

{\
        if ((pagep) != NULL) {                                          \
                ret = CDB_memp_fput((dbc)->dbp->mpf, pagep, 0);         \
                pagep = NULL;                                           \
        } else                                                          \
                ret = 0;                                                \
        if ((ret) == 0 && STD_LOCKING(dbc))                             \
                ret = CDB___db_lget(dbc,                                        \
                    (lock).off == LOCK_INVALID ? 0 : LCK_COUPLE,        \
                    lpgno, mode, 0, &lock);                             \
        else                                                            \
                (lock).off = LOCK_INVALID;                              \
        if ((ret) == 0)                                                 \
                ret = CDB_memp_fget((dbc)->dbp->mpf, &(fpgno), 0, &(pagep));\
}

Definition at line 59 of file bt_cursor.c.

Referenced by __bam_c_close(), and __bam_c_search().


Generated on Sun Jun 8 10:56:41 2008 for GNUmifluz by  doxygen 1.5.5