Lines Matching refs:vars
477 struct pdo_data_src_parser vars[] = { in pdo_dblib_handle_factory() local
488 nvars = sizeof(vars)/sizeof(vars[0]); in pdo_dblib_handle_factory()
491 php_pdo_parse_data_source(dbh->data_source, dbh->data_source_len, vars, nvars); in pdo_dblib_handle_factory()
529 if(vars[5].optval) { in pdo_dblib_handle_factory()
531 if(strcmp(vars[5].optval,tdsver[i].key) == 0) { in pdo_dblib_handle_factory()
541 printf("Invalid version '%s'\n", vars[5].optval); in pdo_dblib_handle_factory()
547 if (!dbh->username && vars[6].optval) { in pdo_dblib_handle_factory()
548 dbh->username = pestrdup(vars[6].optval, dbh->is_persistent); in pdo_dblib_handle_factory()
557 if (!dbh->password && vars[7].optval) { in pdo_dblib_handle_factory()
558 dbh->password = pestrdup(vars[7].optval, dbh->is_persistent); in pdo_dblib_handle_factory()
568 if (vars[0].optval) { in pdo_dblib_handle_factory()
569 DBSETLCHARSET(H->login, vars[0].optval); in pdo_dblib_handle_factory()
573 DBSETLAPP(H->login, vars[1].optval); in pdo_dblib_handle_factory()
577 if (vars[3].optval) { in pdo_dblib_handle_factory()
578 if(FAIL == DBSETLDBNAME(H->login, vars[3].optval)) goto cleanup; in pdo_dblib_handle_factory()
582 H->link = dbopen(H->login, vars[2].optval); in pdo_dblib_handle_factory()
593 if (vars[3].optval) { in pdo_dblib_handle_factory()
594 if(FAIL == dbuse(H->link, vars[3].optval)) goto cleanup; in pdo_dblib_handle_factory()
615 if (vars[i].freeme) { in pdo_dblib_handle_factory()
616 efree(vars[i].optval); in pdo_dblib_handle_factory()