[tracker] SPARQL: Implicitly convert all fn:concat arguments to strings
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] SPARQL: Implicitly convert all fn:concat arguments to strings
- Date: Fri, 8 Apr 2011 13:59:50 +0000 (UTC)
commit b6ad9f99b04b0664973dfc46e17cefc5553b4e19
Author: Jürg Billeter <j bitron ch>
Date: Fri Apr 8 15:53:56 2011 +0200
SPARQL: Implicitly convert all fn:concat arguments to strings
It previously converted only the first two arguments.
Fixes NB#213419.
src/libtracker-data/tracker-sparql-expression.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-data/tracker-sparql-expression.vala b/src/libtracker-data/tracker-sparql-expression.vala
index 679e473..76f6b93 100644
--- a/src/libtracker-data/tracker-sparql-expression.vala
+++ b/src/libtracker-data/tracker-sparql-expression.vala
@@ -505,7 +505,7 @@ class Tracker.Sparql.Expression : Object {
translate_expression_as_string (sql);
while (accept (SparqlTokenType.COMMA)) {
sql.append ("||");
- translate_expression (sql);
+ translate_expression_as_string (sql);
}
return PropertyType.STRING;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]