From 39a307aa7a443c828a84e0939d04e3789902061c Mon Sep 17 00:00:00 2001 From: Tpt Date: Thu, 17 Oct 2019 15:44:16 +0200 Subject: [PATCH] Drops a duplicate filters on SPARQL quad patterns evaluation --- lib/src/sparql/eval.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/src/sparql/eval.rs b/lib/src/sparql/eval.rs index dbc9da99..500f223d 100644 --- a/lib/src/sparql/eval.rs +++ b/lib/src/sparql/eval.rs @@ -170,10 +170,6 @@ impl<'a, S: StoreConnection + 'a> SimpleEvaluator { })) } if graph_name.is_var() { - iter = Box::new(iter.filter(|quad| match quad { - Err(_) => true, - Ok(quad) => quad.graph_name != ENCODED_DEFAULT_GRAPH, - })); if graph_name == subject { iter = Box::new(iter.filter(|quad| match quad { Err(_) => true,