From 68d067259ccc86296ceb9a372790ed96db228db6 Mon Sep 17 00:00:00 2001 From: Dustin Whitney Date: Tue, 15 Oct 2019 17:54:14 -0400 Subject: [PATCH] wiring hooked up --- lib/src/sparql/plan.rs | 2 ++ lib/src/sparql/plan_builder.rs | 1 + 2 files changed, 3 insertions(+) diff --git a/lib/src/sparql/plan.rs b/lib/src/sparql/plan.rs index aafa855b..11246f1e 100644 --- a/lib/src/sparql/plan.rs +++ b/lib/src/sparql/plan.rs @@ -1,4 +1,5 @@ use crate::sparql::GraphPattern; +use crate::sparql::model::Variable; use crate::sparql::eval::StringOrStoreString; use crate::store::numeric_encoder::{ EncodedQuad, EncodedTerm, Encoder, MemoryStrStore, StrContainer, StrLookup, @@ -19,6 +20,7 @@ pub enum PlanNode { }, Service { service_name: PatternValue, + variables: Vec, child: Box, graph_pattern: GraphPattern, silent: bool, diff --git a/lib/src/sparql/plan_builder.rs b/lib/src/sparql/plan_builder.rs index 9223ed57..e75051e4 100644 --- a/lib/src/sparql/plan_builder.rs +++ b/lib/src/sparql/plan_builder.rs @@ -108,6 +108,7 @@ impl PlanBuilder { let graph_pattern = *p.clone(); PlanNode::Service { service_name, + variables: variables.clone(), child: Box::new(self.build_for_graph_pattern(p, variables, service_name)?), graph_pattern, silent: *s,