You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by vl...@apache.org on 2018/08/29 12:23:13 UTC

calcite git commit: MockCatalogReader is used in testing, so cache should be disabled there to avoid thread conflicts and/or stale results

Repository: calcite
Updated Branches:
  refs/heads/master 2f33a0c57 -> ca3780302


MockCatalogReader is used in testing, so cache should be disabled there to avoid thread conflicts and/or stale results


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

Branch: refs/heads/master
Commit: ca3780302463ab2b8ea3180f894f9ea6801f75d0
Parents: 2f33a0c
Author: Vladimir Sitnikov <si...@gmail.com>
Authored: Wed Aug 29 14:28:13 2018 +0300
Committer: Vladimir Sitnikov <si...@gmail.com>
Committed: Wed Aug 29 14:28:13 2018 +0300

----------------------------------------------------------------------
 .../java/org/apache/calcite/test/catalog/MockCatalogReader.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/calcite/blob/ca378030/core/src/test/java/org/apache/calcite/test/catalog/MockCatalogReader.java
----------------------------------------------------------------------
diff --git a/core/src/test/java/org/apache/calcite/test/catalog/MockCatalogReader.java b/core/src/test/java/org/apache/calcite/test/catalog/MockCatalogReader.java
index a31833d..6224792 100644
--- a/core/src/test/java/org/apache/calcite/test/catalog/MockCatalogReader.java
+++ b/core/src/test/java/org/apache/calcite/test/catalog/MockCatalogReader.java
@@ -125,7 +125,7 @@ public abstract class MockCatalogReader extends CalciteCatalogReader {
    */
   public MockCatalogReader(RelDataTypeFactory typeFactory,
       boolean caseSensitive) {
-    super(CalciteSchema.createRootSchema(false, true, DEFAULT_CATALOG),
+    super(CalciteSchema.createRootSchema(false, false, DEFAULT_CATALOG),
         SqlNameMatchers.withCaseSensitive(caseSensitive),
         ImmutableList.of(PREFIX, ImmutableList.of()),
         typeFactory, null);