[tracker] SPARQL: Implicitly convert REGEX text to string



commit 15fd3728c5fdada76194ad00310fd764fc5ed99d
Author: Jürg Billeter <j bitron ch>
Date:   Tue Mar 2 14:02:42 2010 +0100

    SPARQL: Implicitly convert REGEX text to string

 src/libtracker-data/tracker-sparql-query.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-data/tracker-sparql-query.vala b/src/libtracker-data/tracker-sparql-query.vala
index 88e01ae..86dea26 100644
--- a/src/libtracker-data/tracker-sparql-query.vala
+++ b/src/libtracker-data/tracker-sparql-query.vala
@@ -1248,7 +1248,7 @@ public class Tracker.SparqlQuery : Object {
 		expect (SparqlTokenType.REGEX);
 		expect (SparqlTokenType.OPEN_PARENS);
 		sql.append ("SparqlRegex(");
-		translate_expression (sql);
+		translate_expression_as_string (sql);
 		sql.append (", ");
 		expect (SparqlTokenType.COMMA);
 		translate_expression (sql);



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