You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Pavel Tupitsyn (Jira)" <ji...@apache.org> on 2022/03/03 07:00:00 UTC

[jira] [Commented] (IGNITE-16608) ODBC: SQL_ATTR_CONNECTION_TIMEOUT does not affect statement execution

    [ https://issues.apache.org/jira/browse/IGNITE-16608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17500537#comment-17500537 ] 

Pavel Tupitsyn commented on IGNITE-16608:
-----------------------------------------

[~isapego] please see a couple of comments on GitHub.

> 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
>            Priority: Major
>             Fix For: 2.13
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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)