Skip to content

Commit ab683cb

Browse files
authored
Remove SQL_CURSOR_STATIC statement attribute from Connection.query (#339)
* Remove static cursor declaration for .query Signed-off-by: Mark Irish <[email protected]>
1 parent 2f92d71 commit ab683cb

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/odbc_connection.cpp

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -743,15 +743,6 @@ class QueryAsyncWorker : public ODBCAsyncWorker {
743743
return;
744744
}
745745

746-
// set SQL_ATTR_CURSOR_TYPE
747-
SQLSetStmtAttr
748-
(
749-
data->hstmt,
750-
SQL_ATTR_CURSOR_TYPE,
751-
(SQLPOINTER) SQL_CURSOR_STATIC,
752-
IGNORED_PARAMETER
753-
);
754-
755746
// set SQL_ATTR_QUERY_TIMEOUT
756747
if (data->query_options.timeout > 0) {
757748
return_code =

0 commit comments

Comments
 (0)