Home
last modified time | relevance | path

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

/PHP-8.1/ext/pdo_mysql/
H A Dmysql_driver.c245 S->max_length = pdo_attr_lval(driver_options, PDO_ATTR_MAX_COLUMN_LEN, 0); in mysql_handle_preparer()
690 } else if (pdo_attr_lval(driver_options, PDO_MYSQL_ATTR_MULTI_STATEMENTS, 1)) {
739 zend_long connect_timeout = pdo_attr_lval(driver_options, PDO_ATTR_TIMEOUT, 30);
748 H->emulate_prepare = pdo_attr_lval(driver_options,
750 H->emulate_prepare = pdo_attr_lval(driver_options,
753 H->assume_national_character_set_strings = pdo_attr_lval(driver_options,
760 if (pdo_attr_lval(driver_options, PDO_MYSQL_ATTR_FOUND_ROWS, 0)) {
764 if (pdo_attr_lval(driver_options, PDO_MYSQL_ATTR_IGNORE_SPACE, 0)) {
773 if (pdo_attr_lval(driver_options, PDO_MYSQL_ATTR_LOCAL_INFILE, 0)) {
833 compress = pdo_attr_lval(driver_options, PDO_MYSQL_ATTR_COMPRESS, 0);
[all …]
/PHP-8.1/ext/pdo_dblib/
H A Ddblib_driver.c506 int connect_timeout = pdo_attr_lval(driver_options, PDO_DBLIB_ATTR_CONNECTION_TIMEOUT, -1); in pdo_dblib_handle_factory()
507 int query_timeout = pdo_attr_lval(driver_options, PDO_DBLIB_ATTR_QUERY_TIMEOUT, -1); in pdo_dblib_handle_factory()
508 int timeout = pdo_attr_lval(driver_options, PDO_ATTR_TIMEOUT, 30); in pdo_dblib_handle_factory()
520 …H->assume_national_character_set_strings = pdo_attr_lval(driver_options, PDO_ATTR_DEFAULT_STR_PARA… in pdo_dblib_handle_factory()
521 …H->stringify_uniqueidentifier = pdo_attr_lval(driver_options, PDO_DBLIB_ATTR_STRINGIFY_UNIQUEIDENT… in pdo_dblib_handle_factory()
522 H->skip_empty_rowsets = pdo_attr_lval(driver_options, PDO_DBLIB_ATTR_SKIP_EMPTY_ROWSETS, 0); in pdo_dblib_handle_factory()
523 H->datetime_convert = pdo_attr_lval(driver_options, PDO_DBLIB_ATTR_DATETIME_CONVERT, 0); in pdo_dblib_handle_factory()
/PHP-8.1/ext/pdo_sqlite/
H A Dsqlite_driver.c187 if (PDO_CURSOR_FWDONLY != pdo_attr_lval(driver_options, PDO_ATTR_CURSOR, PDO_CURSOR_FWDONLY)) { in sqlite_handle_preparer()
824 …flags = pdo_attr_lval(driver_options, PDO_SQLITE_ATTR_OPEN_FLAGS, SQLITE_OPEN_READWRITE | SQLITE_O… in pdo_sqlite_handle_factory()
843 timeout = pdo_attr_lval(driver_options, PDO_ATTR_TIMEOUT, timeout); in pdo_sqlite_handle_factory()
/PHP-8.1/ext/pdo_odbc/
H A Dodbc_driver.c177 cursor_type = pdo_attr_lval(driver_options, PDO_ATTR_CURSOR, PDO_CURSOR_FWDONLY); in odbc_handle_preparer()
479 …cursor_lib = pdo_attr_lval(driver_options, PDO_ODBC_ATTR_USE_CURSOR_LIBRARY, SQL_CUR_USE_IF_NEEDED… in pdo_odbc_handle_factory()
/PHP-8.1/ext/pdo_pgsql/
H A Dpgsql_driver.c261 scrollable = pdo_attr_lval(driver_options, PDO_ATTR_CURSOR, in pgsql_handle_preparer()
271 if (pdo_attr_lval(driver_options, PDO_ATTR_EMULATE_PREPARES, H->emulate_prepares) == 1) { in pgsql_handle_preparer()
274 if (pdo_attr_lval(driver_options, PDO_PGSQL_ATTR_DISABLE_PREPARES, H->disable_prepares) == 1) { in pgsql_handle_preparer()
1261 connect_timeout = pdo_attr_lval(driver_options, PDO_ATTR_TIMEOUT, 30); in pdo_pgsql_handle_factory()
/PHP-8.1/ext/pdo/
H A Dphp_pdo_driver.h176 static inline zend_long pdo_attr_lval(zval *options, unsigned option_name, zend_long defval) in pdo_attr_lval() function
H A Dpdo_dbh.c370 dbh->auto_commit = pdo_attr_lval(options, PDO_ATTR_AUTOCOMMIT, 1); in PHP_METHOD()
371 dbh->error_mode = pdo_attr_lval(options, PDO_ATTR_ERRMODE, PDO_ERRMODE_EXCEPTION); in PHP_METHOD()
/PHP-8.1/ext/pdo_oci/
H A Doci_driver.c246 S->exec_type = pdo_attr_lval(driver_options, PDO_ATTR_CURSOR, in oci_handle_preparer()

Completed in 41 milliseconds