Igor Sapego created IGNITE-16608:
------------------------------------
Summary: ODBC: SQL_ATTR_CONNECTION_TIMEOUT does not affect
statement execution
Key: IGNITE-16608
URL: https://issues.apache.org/jira/browse/IGNITE-16608
Project: Ignite
Issue Type: Bug
Components: odbc
Affects Versions: 2.12
Reporter: Igor Sapego
Assignee: Igor Sapego
Fix For: 2.13
According to
[documentation|https://docs.microsoft.com/en-us/sql/odbc/reference/syntax/sqlsetconnectattr-function]
SQL_ATTR_CONNECTION_TIMEOUT is described as follows:
{noformat}
An SQLUINTEGER value corresponding to the number of seconds to wait for any
request on the connection to complete before returning to the application. The
driver should return SQLSTATE HYT00 (Timeout expired) anytime that it is
possible to time out in a situation not associated with query execution or
login.
If ValuePtr is equal to 0 (the default), there is no timeout.
{noformat}
It means SQL_ATTR_CONNECTION_TIMEOUT should also work for long queries, but
currently it does not.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)