[
https://issues.apache.org/jira/browse/IGNITE-6876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16259422#comment-16259422
]
Pavel Tupitsyn commented on IGNITE-6876:
----------------------------------------
[~isapego] looks good to me in general.
I would add some explanation to {{WaitOnSocket}} code - how it uses {{select}}
in non-blocking mode to achieve timeout functionality.
Also please fix magic numbers in there ({{if (ready == 0) return 0; return
1;}}).
> ODBC: Add support for SQL_ATTR_CONNECTION_TIMEOUT
> -------------------------------------------------
>
> Key: IGNITE-6876
> URL: https://issues.apache.org/jira/browse/IGNITE-6876
> Project: Ignite
> Issue Type: Improvement
> Components: odbc
> Affects Versions: 2.1
> Reporter: Alexey Popov
> Assignee: Igor Sapego
> Fix For: 2.4
>
>
> Remote ODBC client should be able to request a timeout for socket
> send/receive operations. It should be done with
> {{SQL_ATTR_CONNECTION_TIMEOUT}} attribute.
> If an application with ODBC driver experiences a timeout for some query, it
> can continue to work after closing the connection and establishing a new one.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)