Lines Matching refs:vars
295 struct pdo_data_src_parser vars[] = { in pdo_dblib_handle_factory() local
304 nvars = sizeof(vars)/sizeof(vars[0]); in pdo_dblib_handle_factory()
307 php_pdo_parse_data_source(dbh->data_source, dbh->data_source_len, vars, nvars); in pdo_dblib_handle_factory()
320 if(vars[5].optval) { in pdo_dblib_handle_factory()
322 if(strcmp(vars[5].optval,tdsver[i].key) == 0) { in pdo_dblib_handle_factory()
332 printf("Invalid version '%s'\n", vars[5].optval); in pdo_dblib_handle_factory()
351 if (vars[0].optval) { in pdo_dblib_handle_factory()
352 DBSETLCHARSET(H->login, vars[0].optval); in pdo_dblib_handle_factory()
356 DBSETLAPP(H->login, vars[1].optval); in pdo_dblib_handle_factory()
360 if (vars[3].optval) { in pdo_dblib_handle_factory()
361 if(FAIL == DBSETLDBNAME(H->login, vars[3].optval)) goto cleanup; in pdo_dblib_handle_factory()
365 H->link = dbopen(H->login, vars[2].optval); in pdo_dblib_handle_factory()
376 if (vars[3].optval) { in pdo_dblib_handle_factory()
377 if(FAIL == dbuse(H->link, vars[3].optval)) goto cleanup; in pdo_dblib_handle_factory()
398 if (vars[i].freeme) { in pdo_dblib_handle_factory()
399 efree(vars[i].optval); in pdo_dblib_handle_factory()