buggins / ddbc

DDBC is DB Connector for D language (similar to JDBC)
78 stars 45 forks source link

Invalid cursor state in ODBC when using Microsoft driver #87

Closed SingingBush closed 4 years ago

SingingBush commented 4 years ago

When running tests the build with ODBC Driver 17 for SQL Server fails:

ddbc.core.SQLException@../source/ddbc/drivers/odbcddbc.d(642): 
    24000:1:0   [Microsoft][ODBC Driver 17 for SQL Server]Invalid cursor state - while execution of query set NOCOUNT on; SELECT id,comment FROM ddbct1 WHERE id = 2