removed redundant SQLSetStmtAttr

This commit is contained in:
Aleksandar Fabijanic 2007-07-23 21:00:36 +00:00
parent e812e7bf46
commit 97769a1a43

View File

@ -57,12 +57,6 @@ ODBCStatementImpl::ODBCStatementImpl(SessionImpl& rSession):
_stepCalled(false),
_nextResponse(0)
{
checkError(SQLSetStmtAttr(_stmt,
SQL_CURSOR_TYPE,
(SQLPOINTER) SQL_CURSOR_FORWARD_ONLY,
0),
"SQLSetStmtAttr(SQL_CURSOR_TYPE, SQL_CURSOR_FORWARD_ONLY)");
if (session().getFeature("autoBind"))
{
SQLSetStmtAttr(_stmt,