Lines Matching refs:vars
291 struct pdo_data_src_parser vars[] = { in pdo_dblib_handle_factory() local
300 nvars = sizeof(vars)/sizeof(vars[0]); in pdo_dblib_handle_factory()
302 php_pdo_parse_data_source(dbh->data_source, dbh->data_source_len, vars, nvars); in pdo_dblib_handle_factory()
315 if(vars[5].optval) { in pdo_dblib_handle_factory()
317 if(strcmp(vars[5].optval,tdsver[i].key) == 0) { in pdo_dblib_handle_factory()
327 printf("Invalid version '%s'\n", vars[5].optval); in pdo_dblib_handle_factory()
346 if (vars[0].optval) { in pdo_dblib_handle_factory()
347 DBSETLCHARSET(H->login, vars[0].optval); in pdo_dblib_handle_factory()
351 DBSETLAPP(H->login, vars[1].optval); in pdo_dblib_handle_factory()
355 if (vars[3].optval) { in pdo_dblib_handle_factory()
356 if(FAIL == DBSETLDBNAME(H->login, vars[3].optval)) goto cleanup; in pdo_dblib_handle_factory()
360 H->link = dbopen(H->login, vars[2].optval); in pdo_dblib_handle_factory()
371 if (vars[3].optval) { in pdo_dblib_handle_factory()
372 if(FAIL == dbuse(H->link, vars[3].optval)) goto cleanup; in pdo_dblib_handle_factory()
393 if (vars[i].freeme) { in pdo_dblib_handle_factory()
394 efree(vars[i].optval); in pdo_dblib_handle_factory()