You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafodion.apache.org by se...@apache.org on 2017/10/23 22:09:18 UTC
[2/3] incubator-trafodion git commit: [TRAFODION-2780] The mxosrvr
dumps core when connection idle timer expires
[TRAFODION-2780] The mxosrvr dumps core when connection idle timer expires
Changes as per review
Project: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/commit/2d1f9cde
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/tree/2d1f9cde
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/diff/2d1f9cde
Branch: refs/heads/master
Commit: 2d1f9cde69285868f87fb33e318840b46d6d8725
Parents: acfb5b2
Author: selvaganesang <se...@esgyn.com>
Authored: Mon Oct 23 18:27:27 2017 +0000
Committer: selvaganesang <se...@esgyn.com>
Committed: Mon Oct 23 18:27:27 2017 +0000
----------------------------------------------------------------------
core/conn/odbc/src/odbc/nsksrvr/SrvrConnect.cpp | 2 ++
1 file changed, 2 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/2d1f9cde/core/conn/odbc/src/odbc/nsksrvr/SrvrConnect.cpp
----------------------------------------------------------------------
diff --git a/core/conn/odbc/src/odbc/nsksrvr/SrvrConnect.cpp b/core/conn/odbc/src/odbc/nsksrvr/SrvrConnect.cpp
index 7df82f3..95459a1 100644
--- a/core/conn/odbc/src/odbc/nsksrvr/SrvrConnect.cpp
+++ b/core/conn/odbc/src/odbc/nsksrvr/SrvrConnect.cpp
@@ -1176,6 +1176,8 @@ ImplInit (
srvrGlobal->receiveThrId = getpid();
timer_register();
+ CEE_HANDLE_SET_NIL(&StatisticsTimerHandle);
+
srvrGlobal->srvrVersion.componentId = 0; // Unknown
if (srvrGlobal->srvrVersion.componentId == 0)
{