Lines Matching refs:cur_opt
2130 int odbc_sqlconnect(odbc_connection **conn, char *db, char *uid, char *pwd, int cur_opt, int persis… in odbc_sqlconnect() argument
2152 if (cur_opt != SQL_CUR_DEFAULT) { in odbc_sqlconnect()
2153 rc = SQLSetConnectOption((*conn)->hdbc, SQL_ODBC_CURSORS, cur_opt); in odbc_sqlconnect()
2222 int cur_opt; in odbc_do_connect() local
2231 cur_opt = pv_opt; in odbc_do_connect()
2235 if (! (cur_opt == SQL_CUR_USE_IF_NEEDED || in odbc_do_connect()
2236 cur_opt == SQL_CUR_USE_ODBC || in odbc_do_connect()
2237 cur_opt == SQL_CUR_USE_DRIVER || in odbc_do_connect()
2238 cur_opt == SQL_CUR_DEFAULT) ) { in odbc_do_connect()
2256 hashed_len = spprintf(&hashed_details, 0, "%s_%s_%s_%s_%d", ODBC_TYPE, db, uid, pwd, cur_opt); in odbc_do_connect()
2271 if (!odbc_sqlconnect(&db_conn, db, uid, pwd, cur_opt, 1)) { in odbc_do_connect()
2327 if (!odbc_sqlconnect(&db_conn, db, uid, pwd, cur_opt, 0)) { in odbc_do_connect()