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

/PHP_TRUNK/ext/oci8/
H A Dphp_oci8_int.h240 ub4 prefetch_count; /* current prefetch count */
487 int php_oci_statement_set_prefetch(php_oci_statement *statement, ub4 prefetch);
521 zend_long default_prefetch; /* default prefetch setting */
H A Doci8_statement.c186 Set prefetch buffer size for the statement */
187 int php_oci_statement_set_prefetch(php_oci_statement *statement, ub4 prefetch )
191 if (prefetch > 20000) {
192 prefetch = 20000; /* keep it somewhat sane */
195 PHP_OCI_CALL_RETURN(errstatus, OCIAttrSet, (statement->stmt, OCI_HTYPE_STMT, &prefetch, 0, OCI_ATTR_PREFETCH_ROWS, statement->err));
203 statement->prefetch_count = prefetch;
/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 = H->prefetch; /* Note 0 is allowed so in future REF CURSORs can be used & then passed with no row loss*/
306 H->last_err = OCIAttrSet(S->stmt, OCI_HTYPE_STMT, &prefetch, 0,
309 prefetch *= PDO_OCI_PREFETCH_ROWSIZE;
310 H->last_err = OCIAttrSet(S->stmt, OCI_HTYPE_STMT, &prefetch, 0,
463 H->prefetch = pdo_oci_sanitize_prefetch(Z_LVAL_P(val));
530 ZVAL_LONG(return_value, H->prefetch);
610 H->prefetch
730 pdo_oci_sanitize_prefetch(long prefetch) argument
[all...]
H A Dphp_pdo_oci_int.h38 ub4 prefetch; member in struct:__anon2
97 /* Default prefetch size in number of rows */
100 /* Arbitrary assumed row length for prefetch memory limit calcuation */

Completed in 7 milliseconds