Home
last modified time | relevance | path

Searched refs:pdo_attr_lval (Results 1 – 8 of 8) sorted by relevance

/PHP-7.1/ext/pdo_mysql/
H A Dmysql_driver.c241 S->max_length = pdo_attr_lval(driver_options, PDO_ATTR_MAX_COLUMN_LEN, 0); in mysql_handle_preparer()
568 } else if (pdo_attr_lval(driver_options, PDO_MYSQL_ATTR_MULTI_STATEMENTS, 1)) {
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,
616 H->emulate_prepare = pdo_attr_lval(driver_options,
623 if (pdo_attr_lval(driver_options, PDO_MYSQL_ATTR_FOUND_ROWS, 0)) {
627 if (pdo_attr_lval(driver_options, PDO_MYSQL_ATTR_IGNORE_SPACE, 0)) {
687 compress = pdo_attr_lval(driver_options, PDO_MYSQL_ATTR_COMPRESS, 0);
[all …]
/PHP-7.1/ext/pdo_dblib/
H A Ddblib_driver.c357 int connect_timeout = pdo_attr_lval(driver_options, PDO_DBLIB_ATTR_CONNECTION_TIMEOUT, -1); in pdo_dblib_handle_factory()
358 int query_timeout = pdo_attr_lval(driver_options, PDO_DBLIB_ATTR_QUERY_TIMEOUT, -1); in pdo_dblib_handle_factory()
359 int timeout = pdo_attr_lval(driver_options, PDO_ATTR_TIMEOUT, 30); in pdo_dblib_handle_factory()
371 …H->stringify_uniqueidentifier = pdo_attr_lval(driver_options, PDO_DBLIB_ATTR_STRINGIFY_UNIQUEIDENT… in pdo_dblib_handle_factory()
/PHP-7.1/ext/pdo_odbc/
H A Dodbc_driver.c184 cursor_type = pdo_attr_lval(driver_options, PDO_ATTR_CURSOR, PDO_CURSOR_FWDONLY); in odbc_handle_preparer()
434 …cursor_lib = pdo_attr_lval(driver_options, PDO_ODBC_ATTR_USE_CURSOR_LIBRARY, SQL_CUR_USE_IF_NEEDED… in pdo_odbc_handle_factory()
/PHP-7.1/ext/pdo_pgsql/
H A Dpgsql_driver.c248 scrollable = pdo_attr_lval(driver_options, PDO_ATTR_CURSOR, in pgsql_handle_preparer()
258 if (pdo_attr_lval(driver_options, PDO_ATTR_EMULATE_PREPARES, H->emulate_prepares) == 1) { in pgsql_handle_preparer()
261 if (pdo_attr_lval(driver_options, PDO_PGSQL_ATTR_DISABLE_PREPARES, H->disable_prepares) == 1) { in pgsql_handle_preparer()
1211 connect_timeout = pdo_attr_lval(driver_options, PDO_ATTR_TIMEOUT, 30); in pdo_pgsql_handle_factory()
/PHP-7.1/ext/pdo_sqlite/
H A Dsqlite_driver.c190 if (PDO_CURSOR_FWDONLY != pdo_attr_lval(driver_options, PDO_ATTR_CURSOR, PDO_CURSOR_FWDONLY)) { in sqlite_handle_preparer()
817 timeout = pdo_attr_lval(driver_options, PDO_ATTR_TIMEOUT, timeout); in pdo_sqlite_handle_factory()
/PHP-7.1/ext/pdo/
H A Dphp_pdo_driver.h197 static inline zend_long pdo_attr_lval(zval *options, enum pdo_attribute_type option_name, zend_long… in pdo_attr_lval() function
H A Dpdo_dbh.c343 dbh->auto_commit = pdo_attr_lval(options, PDO_ATTR_AUTOCOMMIT, 1); in PHP_METHOD()
/PHP-7.1/ext/pdo_oci/
H A Doci_driver.c261 S->exec_type = pdo_attr_lval(driver_options, PDO_ATTR_CURSOR, in oci_handle_preparer()

Completed in 37 milliseconds