[tracker] SPARQL: Use named graph of WITH clause in WHERE pattern of updates
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] SPARQL: Use named graph of WITH clause in WHERE pattern of updates
- Date: Fri, 1 Oct 2010 08:33:07 +0000 (UTC)
commit bc7906cc6d7bb76accd75552e365e5f6ae097803
Author: Jürg Billeter <j bitron ch>
Date: Mon Sep 27 16:55:28 2010 +0200
SPARQL: Use named graph of WITH clause in WHERE pattern of updates
The same applies to the deprecated INSERT INTO and DELETE FROM syntax.
Fixes NB#194677.
src/libtracker-data/tracker-sparql-query.vala | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/src/libtracker-data/tracker-sparql-query.vala b/src/libtracker-data/tracker-sparql-query.vala
index 21b03d9..8ce7265 100644
--- a/src/libtracker-data/tracker-sparql-query.vala
+++ b/src/libtracker-data/tracker-sparql-query.vala
@@ -641,13 +641,7 @@ public class Tracker.Sparql.Query : Object {
skip_braces ();
if (accept (SparqlTokenType.WHERE)) {
- // graph only applies to actual insert, not to WHERE part
- var old_graph = current_graph;
- current_graph = null;
-
context = pattern.translate_group_graph_pattern (pattern_sql);
-
- current_graph = old_graph;
} else {
context = new Context ();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]