This is an automated email from the ASF dual-hosted git repository.

andy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/jena.git


The following commit(s) were added to refs/heads/main by this push:
     new be5a23b041 gh-1484: Fix for bulk requests using cache by default
     new 5810565999 Merge pull request #1485 from Aklakan/gh-1484
be5a23b041 is described below

commit be5a23b041c2cfa83a76c5acd357ff119aa9e8f7
Author: Claus Stadler <[email protected]>
AuthorDate: Mon Aug 15 17:58:06 2022 +0200

    gh-1484: Fix for bulk requests using cache by default
---
 .../enhancer/impl/ChainingServiceExecutorBulkServiceEnhancer.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/jena-extras/jena-serviceenhancer/src/main/java/org/apache/jena/sparql/service/enhancer/impl/ChainingServiceExecutorBulkServiceEnhancer.java
 
b/jena-extras/jena-serviceenhancer/src/main/java/org/apache/jena/sparql/service/enhancer/impl/ChainingServiceExecutorBulkServiceEnhancer.java
index 935b1c772d..4db5816e67 100644
--- 
a/jena-extras/jena-serviceenhancer/src/main/java/org/apache/jena/sparql/service/enhancer/impl/ChainingServiceExecutorBulkServiceEnhancer.java
+++ 
b/jena-extras/jena-serviceenhancer/src/main/java/org/apache/jena/sparql/service/enhancer/impl/ChainingServiceExecutorBulkServiceEnhancer.java
@@ -116,7 +116,7 @@ public class ChainingServiceExecutorBulkServiceEnhancer
         boolean enableSpecial = effCacheMode != CacheMode.OFF || enableBulk; 
// || enableLoopJoin; // || !overrides.isEmpty();
 
         if (enableSpecial) {
-            ChainingServiceExecutorBulkCache exec = new 
ChainingServiceExecutorBulkCache(bulkSize, cacheMode);
+            ChainingServiceExecutorBulkCache exec = new 
ChainingServiceExecutorBulkCache(bulkSize, effCacheMode);
             result = exec.createExecution(newOp, input, execCxt, chain);
         } else {
             result = chain.createExecution(newOp, input, execCxt);

Reply via email to