Lines Matching refs:prefetch
34 static inline ub4 pdo_oci_sanitize_prefetch(long prefetch);
255 ub4 prefetch; in oci_handle_preparer() local
305 …prefetch = pdo_oci_sanitize_prefetch(pdo_attr_lval(driver_options, PDO_ATTR_PREFETCH, PDO_OCI_PREF… in oci_handle_preparer()
306 if (prefetch) { in oci_handle_preparer()
307 H->last_err = OCIAttrSet(S->stmt, OCI_HTYPE_STMT, &prefetch, 0, in oci_handle_preparer()
310 prefetch *= PDO_OCI_PREFETCH_ROWSIZE; in oci_handle_preparer()
311 H->last_err = OCIAttrSet(S->stmt, OCI_HTYPE_STMT, &prefetch, 0, in oci_handle_preparer()
723 static inline ub4 pdo_oci_sanitize_prefetch(long prefetch) /* {{{ */ in pdo_oci_sanitize_prefetch() argument
725 if (prefetch < 0) { in pdo_oci_sanitize_prefetch()
726 prefetch = 0; in pdo_oci_sanitize_prefetch()
727 } else if (prefetch > UB4MAXVAL / PDO_OCI_PREFETCH_ROWSIZE) { in pdo_oci_sanitize_prefetch()
728 prefetch = PDO_OCI_PREFETCH_DEFAULT; in pdo_oci_sanitize_prefetch()
730 return ((ub4)prefetch); in pdo_oci_sanitize_prefetch()