From 41fe83906d76afb4f039dc02d9629d0551e4dc7d Mon Sep 17 00:00:00 2001 From: Marko Luukkainen Date: Wed, 2 Jan 2019 17:29:22 +0200 Subject: [PATCH] QueryCaching broke DiagramViewer gitlab #5 Change-Id: I510bdb56e57d6ff5dd17e72683f21265a5d91f22 --- .../src/org/simantics/db/impl/query/QueryCache.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bundles/org.simantics.db.impl/src/org/simantics/db/impl/query/QueryCache.java b/bundles/org.simantics.db.impl/src/org/simantics/db/impl/query/QueryCache.java index 2fca451d6..48d5646c2 100644 --- a/bundles/org.simantics.db.impl/src/org/simantics/db/impl/query/QueryCache.java +++ b/bundles/org.simantics.db.impl/src/org/simantics/db/impl/query/QueryCache.java @@ -19,7 +19,9 @@ import org.simantics.db.request.Read; public class QueryCache extends QueryCacheBase { - private static final boolean SINGLE = true; + // Using QueryChaching breaks Diagram Editor (and probably something else). + private static final boolean SINGLE = false; + public QueryCache(QuerySupport querySupport, int threads) { super(querySupport, threads); } -- 2.47.1