As per the description in the issue above, this PR is to implement the optional driver.QueryerContext interface such that it honours the context passed to the QueryContext() function.
Task list:
[x] Add bindings for SQLCancel() from the ODBC standard
[x] Implement QueryContext()
[x] Test it locally on linux
[ ] Add test case for MSSQL with a cancelled context
[ ] ~Test it locally on windows~
[ ] ~Run test suite~
Notes:
Existing tests should already cover the happy path because the QueryerContext interface will be prefered when available
I was not able to test the windows implementation or run the test suite given that I do not have the correct setup for that
Resolves https://github.com/alexbrainman/odbc/issues/173
As per the description in the issue above, this PR is to implement the optional
driver.QueryerContext
interface such that it honours the context passed to theQueryContext()
function.Task list:
SQLCancel()
from the ODBC standardQueryContext()
Notes:
QueryerContext
interface will be prefered when available