FIX: Cache also empty lists

This commit is contained in:
Roland Praml
2020-02-01 13:38:21 +13:00
committed by rob bygrave
parent cacf033647
commit 4ce484f3f2
@@ -113,7 +113,7 @@ public class CQueryEngine {
if (request.isLogSummary()) {
request.getTransaction().logSummary(rcQuery.getSummary());
}
if (request.isQueryCachePut() && !list.isEmpty()) {
if (request.isQueryCachePut()) {
request.addDependentTables(rcQuery.getDependentTables());
list = Collections.unmodifiableList(list);