#define DISCARD ( dbc,
ldiscard,
lock,
pagep,
ret   ) 

Value:

{                       \
        int __t_ret;                                                    \
        if ((pagep) != NULL) {                                          \
                ret = CDB_memp_fput((dbc)->dbp->mpf, pagep, 0);         \
                pagep = NULL;                                           \
        } else                                                          \
                ret = 0;                                                \
        if ((lock).off != LOCK_INVALID) {                               \
                __t_ret = ldiscard ?                                    \
                    __LPUT((dbc), lock): __TLPUT((dbc), lock);          \
                if (__t_ret != 0 && (ret) == 0)                         \
                        ret = __t_ret;                                  \
                (lock).off = LOCK_INVALID;                              \
        }                                                               \
}

Definition at line 123 of file bt_cursor.c.

Referenced by __bam_c_search().


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