Searched refs:prefetch (Results 1 - 3 of 3) sorted by relevance

/PHP_TRUNK/ext/oci8/
H A Doci8_statement.c185 Set prefetch buffer size for the statement */
186 int php_oci_statement_set_prefetch(php_oci_statement *statement, ub4 prefetch TSRMLS_DC)
190 if (prefetch > 20000) {
191 prefetch = 20000; /* keep it somewhat sane */
194 PHP_OCI_CALL_RETURN(errstatus, OCIAttrSet, (statement->stmt, OCI_HTYPE_STMT, &prefetch, 0, OCI_ATTR_PREFETCH_ROWS, statement->err));
202 statement->prefetch_count = prefetch;
H A Dphp_oci8_int.h233 ub4 prefetch_count; /* current prefetch count */
472 int php_oci_statement_set_prefetch(php_oci_statement *statement, ub4 prefetch TSRMLS_DC);
506 long default_prefetch; /* default prefetch setting */
/PHP_TRUNK/ext/pdo_oci/
H A Doci_driver.c34 static inline ub4 pdo_oci_sanitize_prefetch(long prefetch);
255 ub4 prefetch; local
305 prefetch = pdo_oci_sanitize_prefetch(pdo_attr_lval(driver_options, PDO_ATTR_PREFETCH, PDO_OCI_PREFETCH_DEFAULT TSRMLS_CC));
306 if (prefetch) {
307 H->last_err = OCIAttrSet(S->stmt, OCI_HTYPE_STMT, &prefetch, 0,
310 prefetch *= PDO_OCI_PREFETCH_ROWSIZE;
311 H->last_err = OCIAttrSet(S->stmt, OCI_HTYPE_STMT, &prefetch, 0,
723 static inline ub4 pdo_oci_sanitize_prefetch(long prefetch) /* {{{ */ argument
725 if (prefetch < 0) {
726 prefetch
[all...]

Completed in 10 milliseconds