ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject [3/9] incubator-ignite git commit: ignite-sql-tests - removed absent table handling
Date Tue, 10 Feb 2015 00:42:32 GMT
ignite-sql-tests - removed absent table handling


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

Branch: refs/heads/ignite-sql-tests
Commit: a5b3fdc3ee6f105174fd00231ad8b09aee17844d
Parents: 8558fc8
Author: S.Vladykin <svladykin@gridgain.com>
Authored: Tue Feb 10 01:56:10 2015 +0300
Committer: S.Vladykin <svladykin@gridgain.com>
Committed: Tue Feb 10 01:56:10 2015 +0300

----------------------------------------------------------------------
 .../ignite/internal/processors/query/h2/IgniteH2Indexing.java     | 3 ---
 1 file changed, 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/a5b3fdc3/modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/IgniteH2Indexing.java
----------------------------------------------------------------------
diff --git a/modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/IgniteH2Indexing.java
b/modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/IgniteH2Indexing.java
index 1807dab..8f98064 100644
--- a/modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/IgniteH2Indexing.java
+++ b/modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/IgniteH2Indexing.java
@@ -610,9 +610,6 @@ public class IgniteH2Indexing implements GridQueryIndexing {
             stmt = conn.prepareStatement(sql);
         }
         catch (SQLException e) {
-            if (e.getErrorCode() == ErrorCode.TABLE_OR_VIEW_NOT_FOUND_1)
-                return null;
-
             throw new IgniteCheckedException("Failed to parse SQL query: " + sql, e);
         }
 


Mime
View raw message