[tracker/grouped-deletes: 2/4] libtracker-data: Modify Sparql parser to have tracker:uri-is-descendant() take varargs
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/grouped-deletes: 2/4] libtracker-data: Modify Sparql parser to have tracker:uri-is-descendant() take varargs
- Date: Mon, 7 Mar 2011 17:56:24 +0000 (UTC)
commit 7ceca6495a5c64f922f2ae227e948b1d3dc7603e
Author: Carlos Garnacho <carlosg gnome org>
Date: Mon Mar 7 18:45:39 2011 +0100
libtracker-data: Modify Sparql parser to have tracker:uri-is-descendant() take varargs
src/libtracker-data/tracker-sparql-expression.vala | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-data/tracker-sparql-expression.vala b/src/libtracker-data/tracker-sparql-expression.vala
index 83445e0..ce111b0 100644
--- a/src/libtracker-data/tracker-sparql-expression.vala
+++ b/src/libtracker-data/tracker-sparql-expression.vala
@@ -676,7 +676,11 @@ class Tracker.Sparql.Expression : Object {
sql.append (", ");
expect (SparqlTokenType.COMMA);
- translate_expression_as_string (sql);
+ translate_expression_as_string (sql);
+ while (accept (SparqlTokenType.COMMA)) {
+ sql.append (", ");
+ translate_expression_as_string (sql);
+ }
sql.append (")");
return PropertyType.BOOLEAN;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]