trafodion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbirds...@apache.org
Subject [1/2] incubator-trafodion git commit: [TRAFODION-1728]MT-DCS communication link failure
Date Thu, 21 Jan 2016 01:07:42 GMT
Repository: incubator-trafodion
Updated Branches:
  refs/heads/master 9450a7603 -> 0bd7a146b


[TRAFODION-1728]MT-DCS communication link failure

[TRAFODION-1728][MT-DCS]ODBC: SQLExecute ran into communication link
failure when mtdcs is on.


Project: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/commit/58883778
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/tree/58883778
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/diff/58883778

Branch: refs/heads/master
Commit: 58883778bc1cb4a8dda2cc4e90b1ad8ccec8dea5
Parents: bd86a46
Author: Weiqing Xu <weiqing.xu@esgyn.cn>
Authored: Wed Jan 20 07:01:34 2016 +0000
Committer: Weiqing Xu <weiqing.xu@esgyn.cn>
Committed: Wed Jan 20 07:01:34 2016 +0000

----------------------------------------------------------------------
 .../java/org/trafodion/dcs/servermt/serverSql/TrafConnection.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/58883778/dcs/src/main/java/org/trafodion/dcs/servermt/serverSql/TrafConnection.java
----------------------------------------------------------------------
diff --git a/dcs/src/main/java/org/trafodion/dcs/servermt/serverSql/TrafConnection.java b/dcs/src/main/java/org/trafodion/dcs/servermt/serverSql/TrafConnection.java
index c2fba36..55ff24d 100644
--- a/dcs/src/main/java/org/trafodion/dcs/servermt/serverSql/TrafConnection.java
+++ b/dcs/src/main/java/org/trafodion/dcs/servermt/serverSql/TrafConnection.java
@@ -384,7 +384,7 @@ public class TrafConnection {
             while (keySetIterator.hasNext()) {
                 key = keySetIterator.next();
                 tstmt = statements.get(key);
-                if (tstmt.getStmtHandle() == stmtHandle);
+                if (tstmt.getStmtHandle() == stmtHandle)
                     return tstmt;
             }
             throw new SQLException("getTrafStatement stmtHandle [" + stmtHandle + "] returns
null");


Mime
View raw message