ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From voze...@apache.org
Subject ignite git commit: IGNITE-6295: SQL: Deprecated "replicatedOnly" flag (part 2).
Date Thu, 15 Nov 2018 08:55:41 GMT
Repository: ignite
Updated Branches:
  refs/heads/master 0b067af67 -> d37f1d709


IGNITE-6295: SQL: Deprecated "replicatedOnly" flag (part 2).


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

Branch: refs/heads/master
Commit: d37f1d70918ed34f8932cb85fdb59c667a8f86b2
Parents: 0b067af
Author: devozerov <vozerov@gridgain.com>
Authored: Thu Nov 15 11:55:35 2018 +0300
Committer: devozerov <vozerov@gridgain.com>
Committed: Thu Nov 15 11:55:35 2018 +0300

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


http://git-wip-us.apache.org/repos/asf/ignite/blob/d37f1d70/modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/sql/GridSqlQueryParser.java
----------------------------------------------------------------------
diff --git a/modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/sql/GridSqlQueryParser.java
b/modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/sql/GridSqlQueryParser.java
index 1208f6a..122a9f7 100644
--- a/modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/sql/GridSqlQueryParser.java
+++ b/modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/sql/GridSqlQueryParser.java
@@ -1730,6 +1730,9 @@ public class GridSqlQueryParser {
                 if (tbl != null) {
                     GridCacheContext cctx = tbl.cache();
 
+                    if (cctx.mvccEnabled())
+                        return false;
+
                     if (cctx.isPartitioned())
                         return false;
 


Mime
View raw message