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/02 18:13:39 UTC

[1/2] incubator-trafodion git commit: [TRAFODION-2757] Fix bug JDBC executeQuery() throws exception on the "with ... select" stmt

Repository: incubator-trafodion
Updated Branches:
  refs/heads/master 12070e485 -> e1c0776d5


[TRAFODION-2757] Fix bug JDBC executeQuery() throws exception on the "with ... select" stmt


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

Branch: refs/heads/master
Commit: fdbb5dff3df8730243a752238727296d033065b9
Parents: 4c9423f
Author: CoderSong2015 <40...@qq.com>
Authored: Sat Sep 30 02:30:46 2017 +0000
Committer: CoderSong2015 <40...@qq.com>
Committed: Sat Sep 30 02:30:46 2017 +0000

----------------------------------------------------------------------
 .../src/main/java/org/trafodion/jdbc/t4/InterfaceStatement.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/fdbb5dff/core/conn/jdbcT4/src/main/java/org/trafodion/jdbc/t4/InterfaceStatement.java
----------------------------------------------------------------------
diff --git a/core/conn/jdbcT4/src/main/java/org/trafodion/jdbc/t4/InterfaceStatement.java b/core/conn/jdbcT4/src/main/java/org/trafodion/jdbc/t4/InterfaceStatement.java
index 50b0207..a2c199e 100644
--- a/core/conn/jdbcT4/src/main/java/org/trafodion/jdbc/t4/InterfaceStatement.java
+++ b/core/conn/jdbcT4/src/main/java/org/trafodion/jdbc/t4/InterfaceStatement.java
@@ -966,7 +966,7 @@ class InterfaceStatement {
 		else {
 			switch(this.ic_.getMode()) {
 			case InterfaceConnection.MODE_SQL:
-				if ((str3.equals("SELECT")) || (str3.equals("SHOWSHAPE")) || (str3.equals("INVOKE"))
+				if ((str3.equals("SELECT")) || (str3.equals("WITH"))|| (str3.equals("SHOWSHAPE")) || (str3.equals("INVOKE"))
 						|| (str3.equals("SHOWCONTROL")) || (str3.equals("SHOWDDL")) || (str3.equals("EXPLAIN"))
 						|| (str3.equals("SHOWPLAN")) || (str3.equals("REORGANIZE")) || (str3.equals("MAINTAIN"))
 						|| (str3.equals("SHOWLABEL")) || (str3.equals("VALUES"))


[2/2] incubator-trafodion git commit: Merge PR 1249 [TRAFODION-2757] Fix bug JDBC executeQuery() throws exception on the WITH select statements

Posted by se...@apache.org.
Merge PR 1249 [TRAFODION-2757] Fix bug JDBC executeQuery() throws exception on the WITH select statements


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

Branch: refs/heads/master
Commit: e1c0776d5291ea9ea9101b6c2a9e0ea8b764f7a1
Parents: 12070e4 fdbb5df
Author: selvaganesang <se...@apache.org>
Authored: Mon Oct 2 18:12:37 2017 +0000
Committer: selvaganesang <se...@apache.org>
Committed: Mon Oct 2 18:12:37 2017 +0000

----------------------------------------------------------------------
 .../src/main/java/org/trafodion/jdbc/t4/InterfaceStatement.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------