Lines Matching refs:vars
478 struct pdo_data_src_parser vars[] = { in pdo_dblib_handle_factory() local
489 nvars = sizeof(vars)/sizeof(vars[0]); in pdo_dblib_handle_factory()
492 php_pdo_parse_data_source(dbh->data_source, dbh->data_source_len, vars, nvars); in pdo_dblib_handle_factory()
530 if(vars[5].optval) { in pdo_dblib_handle_factory()
532 if(strcmp(vars[5].optval,tdsver[i].key) == 0) { in pdo_dblib_handle_factory()
542 printf("Invalid version '%s'\n", vars[5].optval); in pdo_dblib_handle_factory()
548 if (!dbh->username && vars[6].optval) { in pdo_dblib_handle_factory()
549 dbh->username = pestrdup(vars[6].optval, dbh->is_persistent); in pdo_dblib_handle_factory()
558 if (!dbh->password && vars[7].optval) { in pdo_dblib_handle_factory()
559 dbh->password = pestrdup(vars[7].optval, dbh->is_persistent); in pdo_dblib_handle_factory()
569 if (vars[0].optval) { in pdo_dblib_handle_factory()
570 DBSETLCHARSET(H->login, vars[0].optval); in pdo_dblib_handle_factory()
574 DBSETLAPP(H->login, vars[1].optval); in pdo_dblib_handle_factory()
578 if (vars[3].optval) { in pdo_dblib_handle_factory()
579 if(FAIL == DBSETLDBNAME(H->login, vars[3].optval)) goto cleanup; in pdo_dblib_handle_factory()
583 H->link = dbopen(H->login, vars[2].optval); in pdo_dblib_handle_factory()
594 if (vars[3].optval) { in pdo_dblib_handle_factory()
595 if(FAIL == dbuse(H->link, vars[3].optval)) goto cleanup; in pdo_dblib_handle_factory()
616 if (vars[i].freeme) { in pdo_dblib_handle_factory()
617 efree(vars[i].optval); in pdo_dblib_handle_factory()