From: Marko Luukkainen Date: Wed, 2 Jan 2019 15:29:22 +0000 (+0200) Subject: QueryCaching broke DiagramViewer X-Git-Tag: v1.43.0~136^2~212 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=d6c9d216653fe7dbe3dcc4dd532bffc69d13f37f;p=simantics%2Fplatform.git QueryCaching broke DiagramViewer gitlab #5 Change-Id: I510bdb56e57d6ff5dd17e72683f21265a5d91f22 --- 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); }