Lines Matching refs:cur_opt
2461 int odbc_sqlconnect(odbc_connection **conn, char *db, char *uid, char *pwd, int cur_opt, int persis… in odbc_sqlconnect() argument
2483 if (cur_opt != SQL_CUR_DEFAULT) { in odbc_sqlconnect()
2484 rc = SQLSetConnectOption((*conn)->hdbc, SQL_ODBC_CURSORS, cur_opt); in odbc_sqlconnect()
2561 int hashed_len, cur_opt; in odbc_do_connect() local
2570 cur_opt = pv_opt; in odbc_do_connect()
2574 if (! (cur_opt == SQL_CUR_USE_IF_NEEDED || in odbc_do_connect()
2575 cur_opt == SQL_CUR_USE_ODBC || in odbc_do_connect()
2576 cur_opt == SQL_CUR_USE_DRIVER || in odbc_do_connect()
2577 cur_opt == SQL_CUR_DEFAULT) ) { in odbc_do_connect()
2578 php_error_docref(NULL, E_WARNING, "Invalid Cursor type (%d)", cur_opt); in odbc_do_connect()
2587 hashed_len = spprintf(&hashed_details, 0, "%s_%s_%s_%s_%d", ODBC_TYPE, db, uid, pwd, cur_opt); in odbc_do_connect()
2614 if (!odbc_sqlconnect(&db_conn, db, uid, pwd, cur_opt, 1)) { in odbc_do_connect()
2692 if (!odbc_sqlconnect(&db_conn, db, uid, pwd, cur_opt, 0)) { in odbc_do_connect()