You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafodion.apache.org by db...@apache.org on 2018/09/26 20:19:09 UTC
[1/2] trafodion git commit: The variable of won't be initialized
before a new statement
Repository: trafodion
Updated Branches:
refs/heads/master 78a1a563a -> 9a55a8a3d
The variable of won't be initialized before a new statement
Project: http://git-wip-us.apache.org/repos/asf/trafodion/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafodion/commit/1f3933ec
Tree: http://git-wip-us.apache.org/repos/asf/trafodion/tree/1f3933ec
Diff: http://git-wip-us.apache.org/repos/asf/trafodion/diff/1f3933ec
Branch: refs/heads/master
Commit: 1f3933eca47ae7769d0360a326a65e8abeae0ad0
Parents: b7384e8
Author: Weixin-Xu <10...@qq.com>
Authored: Wed Sep 19 10:35:21 2018 +0800
Committer: Weixin-Xu <10...@qq.com>
Committed: Wed Sep 19 10:37:33 2018 +0800
----------------------------------------------------------------------
win-odbc64/odbcclient/drvr35/cstmt.cpp | 1 +
1 file changed, 1 insertion(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/trafodion/blob/1f3933ec/win-odbc64/odbcclient/drvr35/cstmt.cpp
----------------------------------------------------------------------
diff --git a/win-odbc64/odbcclient/drvr35/cstmt.cpp b/win-odbc64/odbcclient/drvr35/cstmt.cpp
index 67c453d..98550f3 100644
--- a/win-odbc64/odbcclient/drvr35/cstmt.cpp
+++ b/win-odbc64/odbcclient/drvr35/cstmt.cpp
@@ -897,6 +897,7 @@ SQLRETURN CStmt::SendSQLCommand(BOOL SkipProcess, SQLCHAR *StatementText,
setDiagRowCount(-1, -1);
InitParamColumnList();
+ m_NumResultCols = 0;
if (m_StmtState == STMT_EXECUTED)
{
[2/2] trafodion git commit: Merge [TRAFODION-3209] PR 1715 Initialize
a variable in Windows driver
Posted by db...@apache.org.
Merge [TRAFODION-3209] PR 1715 Initialize a variable in Windows driver
Project: http://git-wip-us.apache.org/repos/asf/trafodion/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafodion/commit/9a55a8a3
Tree: http://git-wip-us.apache.org/repos/asf/trafodion/tree/9a55a8a3
Diff: http://git-wip-us.apache.org/repos/asf/trafodion/diff/9a55a8a3
Branch: refs/heads/master
Commit: 9a55a8a3d6546d15ea6e71b81d48e26eaf4dae62
Parents: 78a1a56 1f3933e
Author: Dave Birdsall <db...@apache.org>
Authored: Wed Sep 26 20:18:20 2018 +0000
Committer: Dave Birdsall <db...@apache.org>
Committed: Wed Sep 26 20:18:20 2018 +0000
----------------------------------------------------------------------
win-odbc64/odbcclient/drvr35/cstmt.cpp | 1 +
1 file changed, 1 insertion(+)
----------------------------------------------------------------------