ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject incubator-ignite git commit: ignite-sql-tests - params fix
Date Mon, 09 Feb 2015 07:08:32 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-sql-tests b17af2743 -> c89ed06ec


ignite-sql-tests - params fix


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

Branch: refs/heads/ignite-sql-tests
Commit: c89ed06ecd966aa4c37a6c0b11b509c1e7ee36d9
Parents: b17af27
Author: S.Vladykin <svladykin@gridgain.com>
Authored: Mon Feb 9 10:08:10 2015 +0300
Committer: S.Vladykin <svladykin@gridgain.com>
Committed: Mon Feb 9 10:08:10 2015 +0300

----------------------------------------------------------------------
 .../internal/processors/query/h2/sql/GridSqlQuerySplitter.java     | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/c89ed06e/modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/sql/GridSqlQuerySplitter.java
----------------------------------------------------------------------
diff --git a/modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/sql/GridSqlQuerySplitter.java
b/modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/sql/GridSqlQuerySplitter.java
index 797bce7..d70a9a5 100644
--- a/modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/sql/GridSqlQuerySplitter.java
+++ b/modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/sql/GridSqlQuerySplitter.java
@@ -190,6 +190,8 @@ public class GridSqlQuerySplitter {
             else
                 target.set(idx, param);
         }
+        else if (el instanceof GridSqlSubquery)
+            findParams(((GridSqlSubquery)el).select(), params, target);
         else
             for (GridSqlElement child : el)
                 findParams(child, params, target);


Mime
View raw message