[tracker/rss-enclosures] SPARQL: Fix generated SQL for triple block following simple optional



commit 353551ca4c706ceec7bd307550d82670c43848af
Author: Jürg Billeter <j bitron ch>
Date:   Thu Jun 24 11:40:21 2010 +0200

    SPARQL: Fix generated SQL for triple block following simple optional

 src/libtracker-data/tracker-sparql-pattern.vala |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/libtracker-data/tracker-sparql-pattern.vala b/src/libtracker-data/tracker-sparql-pattern.vala
index 4b169e7..39e4db5 100644
--- a/src/libtracker-data/tracker-sparql-pattern.vala
+++ b/src/libtracker-data/tracker-sparql-pattern.vala
@@ -701,6 +701,7 @@ class Tracker.Sparql.Pattern : Object {
 				// due to not using a JOIN for the simple optional
 				end_triples_block (sql, ref first_where, in_group_graph_pattern);
 				in_triples_block = false;
+				in_group_graph_pattern = true;
 			}
 			if (!in_triples_block) {
 				if (in_group_graph_pattern) {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]