Lines Matching refs:data_source
228 char *data_source; in PHP_METHOD() local
240 Z_PARAM_STRING(data_source, data_source_len) in PHP_METHOD()
248 colon = strchr(data_source, ':'); in PHP_METHOD()
254 snprintf(alt_dsn, sizeof(alt_dsn), "pdo.dsn.%s", data_source); in PHP_METHOD()
260 data_source = ini_dsn; in PHP_METHOD()
261 colon = strchr(data_source, ':'); in PHP_METHOD()
269 if (!strncmp(data_source, "uri:", sizeof("uri:")-1)) { in PHP_METHOD()
271 data_source = dsn_from_uri(data_source + sizeof("uri:")-1, alt_dsn, sizeof(alt_dsn)); in PHP_METHOD()
272 if (!data_source) { in PHP_METHOD()
276 colon = strchr(data_source, ':'); in PHP_METHOD()
283 driver = pdo_find_driver(data_source, colon - data_source); in PHP_METHOD()
306 plen = spprintf(&hashkey, 0, "PDO:DBH:DSN=%s:%s:%s:%s", data_source, in PHP_METHOD()
313 plen = spprintf(&hashkey, 0, "PDO:DBH:DSN=%s:%s:%s", data_source, in PHP_METHOD()
365 dbh->data_source = (const char*)pestrdup(colon + 1, is_persistent); in PHP_METHOD()
373 if (!dbh->data_source || (username && !dbh->username) || (password && !dbh->password)) { in PHP_METHOD()
1516 if (dbh->data_source) { in dbh_free()
1517 pefree((char *)dbh->data_source, dbh->is_persistent); in dbh_free()