Lines Matching refs:cur_opt
2390 int odbc_sqlconnect(odbc_connection **conn, char *db, char *uid, char *pwd, int cur_opt, int persis… in odbc_sqlconnect() argument
2450 if (cur_opt != SQL_CUR_DEFAULT) { in odbc_sqlconnect()
2451 rc = SQLSetConnectOption((*conn)->hdbc, SQL_ODBC_CURSORS, cur_opt); in odbc_sqlconnect()
2529 int hashed_len, cur_opt; in odbc_do_connect() local
2538 cur_opt = pv_opt; in odbc_do_connect()
2542 if (! (cur_opt == SQL_CUR_USE_IF_NEEDED || in odbc_do_connect()
2543 cur_opt == SQL_CUR_USE_ODBC || in odbc_do_connect()
2544 cur_opt == SQL_CUR_USE_DRIVER || in odbc_do_connect()
2545 cur_opt == SQL_CUR_DEFAULT) ) { in odbc_do_connect()
2546 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid Cursor type (%d)", cur_opt); in odbc_do_connect()
2555 hashed_len = spprintf(&hashed_details, 0, "%s_%s_%s_%s_%d", ODBC_TYPE, db, uid, pwd, cur_opt); in odbc_do_connect()
2584 if (!odbc_sqlconnect(&db_conn, db, uid, pwd, cur_opt, 1 TSRMLS_CC)) { in odbc_do_connect()
2664 if (!odbc_sqlconnect(&db_conn, db, uid, pwd, cur_opt, 0 TSRMLS_CC)) { in odbc_do_connect()