You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafodion.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/03/22 16:12:00 UTC
[jira] [Commented] (TRAFODION-3003) Trafodion keepalive support
[ https://issues.apache.org/jira/browse/TRAFODION-3003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16409783#comment-16409783 ]
ASF GitHub Bot commented on TRAFODION-3003:
-------------------------------------------
Github user DaveBirdsall commented on a diff in the pull request:
https://github.com/apache/trafodion/pull/1487#discussion_r176478042
--- Diff: core/conn/odbc/src/odbc/Common/Global.h ---
@@ -935,7 +941,10 @@ typedef struct _SRVR_GLOBAL_Def
bzero(m_ProcName,sizeof(m_ProcName));
m_bNewConnection = false;
m_bNewService = false;
-
+ bzero(clientKeepaliveStatus, sizeof(clientKeepaliveStatus));
--- End diff --
Minor point: If we could keep the indentation consistent, that will make the code easier to read in the future. (Perhaps the new code uses tabs and the old code doesn't? Or maybe the old code uses tabs but the new code doesn't? In the past, we've tried to avoid tabs because they lead to these kinds of problems but we have not been successful in keeping them out.)
> Trafodion keepalive support
> ---------------------------
>
> Key: TRAFODION-3003
> URL: https://issues.apache.org/jira/browse/TRAFODION-3003
> Project: Apache Trafodion
> Issue Type: New Feature
> Components: connectivity-mxosrvr
> Affects Versions: 2.4
> Reporter: haolin.song
> Assignee: haolin.song
> Priority: Major
>
> We need to make sure the connection exists when the client does not operate for a long time.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)