Lines Matching refs:vars

454 	struct pdo_data_src_parser vars[] = {  in pdo_dblib_handle_factory()  local
465 nvars = sizeof(vars)/sizeof(vars[0]); in pdo_dblib_handle_factory()
468 php_pdo_parse_data_source(dbh->data_source, dbh->data_source_len, vars, nvars); in pdo_dblib_handle_factory()
506 if(vars[5].optval) { in pdo_dblib_handle_factory()
508 if(strcmp(vars[5].optval,tdsver[i].key) == 0) { in pdo_dblib_handle_factory()
518 printf("Invalid version '%s'\n", vars[5].optval); in pdo_dblib_handle_factory()
524 if (!dbh->username && vars[6].optval) { in pdo_dblib_handle_factory()
525 dbh->username = pestrdup(vars[6].optval, dbh->is_persistent); in pdo_dblib_handle_factory()
534 if (!dbh->password && vars[7].optval) { in pdo_dblib_handle_factory()
535 dbh->password = pestrdup(vars[7].optval, dbh->is_persistent); in pdo_dblib_handle_factory()
545 if (vars[0].optval) { in pdo_dblib_handle_factory()
546 DBSETLCHARSET(H->login, vars[0].optval); in pdo_dblib_handle_factory()
550 DBSETLAPP(H->login, vars[1].optval); in pdo_dblib_handle_factory()
554 if (vars[3].optval) { in pdo_dblib_handle_factory()
555 if(FAIL == DBSETLDBNAME(H->login, vars[3].optval)) goto cleanup; in pdo_dblib_handle_factory()
559 H->link = dbopen(H->login, vars[2].optval); in pdo_dblib_handle_factory()
570 if (vars[3].optval) { in pdo_dblib_handle_factory()
571 if(FAIL == dbuse(H->link, vars[3].optval)) goto cleanup; in pdo_dblib_handle_factory()
592 if (vars[i].freeme) { in pdo_dblib_handle_factory()
593 efree(vars[i].optval); in pdo_dblib_handle_factory()