Drops a duplicate filters on SPARQL quad patterns evaluation

pull/12/head
Tpt 5 years ago
parent b178f5dc4c
commit 39a307aa7a
  1. 4
      lib/src/sparql/eval.rs

@ -170,10 +170,6 @@ impl<'a, S: StoreConnection + 'a> SimpleEvaluator<S> {
}))
}
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,

Loading…
Cancel
Save