Lines Matching refs:vars
471 struct pdo_data_src_parser vars[] = { in pdo_dblib_handle_factory() local
482 nvars = sizeof(vars)/sizeof(vars[0]); in pdo_dblib_handle_factory()
485 php_pdo_parse_data_source(dbh->data_source, dbh->data_source_len, vars, nvars); in pdo_dblib_handle_factory()
523 if(vars[5].optval) { in pdo_dblib_handle_factory()
525 if(strcmp(vars[5].optval,tdsver[i].key) == 0) { in pdo_dblib_handle_factory()
535 printf("Invalid version '%s'\n", vars[5].optval); in pdo_dblib_handle_factory()
541 if (!dbh->username && vars[6].optval) { in pdo_dblib_handle_factory()
542 dbh->username = pestrdup(vars[6].optval, dbh->is_persistent); in pdo_dblib_handle_factory()
551 if (!dbh->password && vars[7].optval) { in pdo_dblib_handle_factory()
552 dbh->password = pestrdup(vars[7].optval, dbh->is_persistent); in pdo_dblib_handle_factory()
562 if (vars[0].optval) { in pdo_dblib_handle_factory()
563 DBSETLCHARSET(H->login, vars[0].optval); in pdo_dblib_handle_factory()
567 DBSETLAPP(H->login, vars[1].optval); in pdo_dblib_handle_factory()
571 if (vars[3].optval) { in pdo_dblib_handle_factory()
572 if(FAIL == DBSETLDBNAME(H->login, vars[3].optval)) goto cleanup; in pdo_dblib_handle_factory()
576 H->link = dbopen(H->login, vars[2].optval); in pdo_dblib_handle_factory()
587 if (vars[3].optval) { in pdo_dblib_handle_factory()
588 if(FAIL == dbuse(H->link, vars[3].optval)) goto cleanup; in pdo_dblib_handle_factory()
609 if (vars[i].freeme) { in pdo_dblib_handle_factory()
610 efree(vars[i].optval); in pdo_dblib_handle_factory()