Searched defs:driver_options (Results 1 - 7 of 7) sorted by relevance

/PHP_TRUNK/ext/pdo_dblib/
H A Ddblib_driver.c95 static int dblib_handle_preparer(pdo_dbh_t *dbh, const char *sql, zend_long sql_len, pdo_stmt_t *stmt, zval *driver_options) argument
312 static int pdo_dblib_handle_factory(pdo_dbh_t *dbh, zval *driver_options) argument
350 if (driver_options) {
351 int timeout = pdo_attr_lval(driver_options, PDO_ATTR_TIMEOUT, 30);
/PHP_TRUNK/ext/pdo_firebird/
H A Dfirebird_driver.c134 pdo_stmt_t *stmt, zval *driver_options)
642 static int pdo_firebird_handle_factory(pdo_dbh_t *dbh, zval *driver_options) /* {{{ */ argument
133 firebird_handle_preparer(pdo_dbh_t *dbh, const char *sql, zend_long sql_len, pdo_stmt_t *stmt, zval *driver_options) argument
/PHP_TRUNK/ext/pdo_mysql/
H A Dmysql_driver.c164 static int mysql_handle_preparer(pdo_dbh_t *dbh, const char *sql, zend_long sql_len, pdo_stmt_t *stmt, zval *driver_options) argument
243 S->max_length = pdo_attr_lval(driver_options, PDO_ATTR_MAX_COLUMN_LEN, 0);
541 static int pdo_mysql_handle_factory(pdo_dbh_t *dbh, zval *driver_options) argument
566 if (!driver_options) {
568 } else if (pdo_attr_lval(driver_options, PDO_MYSQL_ATTR_MULTI_STATEMENTS, 1)) {
603 if (driver_options) {
604 zend_long connect_timeout = pdo_attr_lval(driver_options, PDO_ATTR_TIMEOUT, 30);
605 zend_long local_infile = pdo_attr_lval(driver_options, PDO_MYSQL_ATTR_LOCAL_INFILE, 0);
612 H->buffered = pdo_attr_lval(driver_options, PDO_MYSQL_ATTR_USE_BUFFERED_QUERY, 1);
614 H->emulate_prepare = pdo_attr_lval(driver_options,
[all...]
/PHP_TRUNK/ext/pdo_oci/
H A Doci_driver.c251 static int oci_handle_preparer(pdo_dbh_t *dbh, const char *sql, long sql_len, pdo_stmt_t *stmt, zval *driver_options) /* {{{ */ argument
261 S->exec_type = pdo_attr_lval(driver_options, PDO_ATTR_CURSOR,
305 prefetch = pdo_oci_sanitize_prefetch(pdo_attr_lval(driver_options, PDO_ATTR_PREFETCH, PDO_OCI_PREFETCH_DEFAULT));
591 static int pdo_oci_handle_factory(pdo_dbh_t *dbh, zval *driver_options) /* {{{ */ argument
/PHP_TRUNK/ext/pdo_odbc/
H A Dodbc_driver.c145 static int odbc_handle_preparer(pdo_dbh_t *dbh, const char *sql, zend_long sql_len, pdo_stmt_t *stmt, zval *driver_options) argument
184 cursor_type = pdo_attr_lval(driver_options, PDO_ATTR_CURSOR, PDO_CURSOR_FWDONLY);
391 static int pdo_odbc_handle_factory(pdo_dbh_t *dbh, zval *driver_options) /* {{{ */ argument
434 cursor_lib = pdo_attr_lval(driver_options, PDO_ODBC_ATTR_USE_CURSOR_LIBRARY, SQL_CUR_USE_IF_NEEDED);
/PHP_TRUNK/ext/pdo_pgsql/
H A Dpgsql_driver.c217 static int pgsql_handle_preparer(pdo_dbh_t *dbh, const char *sql, zend_long sql_len, pdo_stmt_t *stmt, zval *driver_options) argument
232 scrollable = pdo_attr_lval(driver_options, PDO_ATTR_CURSOR,
241 } else if (driver_options) {
242 if (pdo_attr_lval(driver_options, PDO_PGSQL_ATTR_DISABLE_NATIVE_PREPARED_STATEMENT, H->disable_native_prepares) == 1) {
246 if (pdo_attr_lval(driver_options, PDO_ATTR_EMULATE_PREPARES, H->emulate_prepares) == 1) {
249 if (pdo_attr_lval(driver_options, PDO_PGSQL_ATTR_DISABLE_PREPARES, H->disable_prepares) == 1) {
1169 static int pdo_pgsql_handle_factory(pdo_dbh_t *dbh, zval *driver_options) /* {{{ */ argument
1192 if (driver_options) {
1193 connect_timeout = pdo_attr_lval(driver_options, PDO_ATTR_TIMEOUT, 30);
/PHP_TRUNK/ext/pdo_sqlite/
H A Dsqlite_driver.c178 static int sqlite_handle_preparer(pdo_dbh_t *dbh, const char *sql, zend_long sql_len, pdo_stmt_t *stmt, zval *driver_options) argument
190 if (PDO_CURSOR_FWDONLY != pdo_attr_lval(driver_options, PDO_ATTR_CURSOR, PDO_CURSOR_FWDONLY)) {
785 static int pdo_sqlite_handle_factory(pdo_dbh_t *dbh, zval *driver_options) /* {{{ */ argument
819 if (driver_options) {
820 timeout = pdo_attr_lval(driver_options, PDO_ATTR_TIMEOUT, timeout);

Completed in 11 milliseconds