ivandasch commented on a change in pull request #9862:
URL: https://github.com/apache/ignite/pull/9862#discussion_r818415674
##########
File path: modules/platforms/cpp/odbc/include/ignite/odbc/connection.h
##########
@@ -204,25 +204,27 @@ namespace ignite
*
* @param req Request message.
* @param rsp Response message.
- * @param timeout Timeout.
+ * @param timeout Timeout. 0 means disabled and -1 means to use
default connection timeout.
Review comment:
+1, why not just
```
int32_t actualTimeout = timeout < 0 ? this->timeout : timeout
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]