Home
last modified time | relevance | path

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

/PHP-8.3/ext/pdo/
H A Dpdo_dbh.c237 char alt_dsn[512]; in PHP_METHOD() local
256 snprintf(alt_dsn, sizeof(alt_dsn), "pdo.dsn.%s", data_source); in PHP_METHOD()
257 if (FAILURE == cfg_get_string(alt_dsn, &ini_dsn)) { in PHP_METHOD()
266 …_throw_exception_ex(php_pdo_get_exception(), 0, "invalid data source name (via INI: %s)", alt_dsn); in PHP_METHOD()
273 data_source = dsn_from_uri(data_source + sizeof("uri:")-1, alt_dsn, sizeof(alt_dsn)); in PHP_METHOD()

Completed in 6 milliseconds