Home
last modified time | relevance | path

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

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

Completed in 8 milliseconds