[freetds] Cursor Concurrency

James K. Lowden jklowden at freetds.org
Mon Dec 5 20:50:21 EST 2005


Davison, Jim wrote:
> What values are supported when using the SQL_CONCURRENCY attribute when
> using the SQLSetStmtAttr function?

None, sadly.  

Here's the relevant code from src/odbc/odbc.c:

	case SQL_ATTR_CONCURRENCY:
		/* TODO cursors */
		if (stmt->attr.concurrency != ui) {
			odbc_errs_add(&stmt->errs, "01S02", NULL);
			ODBC_RETURN(stmt, SQL_SUCCESS_WITH_INFO);
		}
		stmt->attr.concurrency = ui;
		break;

Sorry about that, chief.  

--jkl



More information about the FreeTDS mailing list