[tracker] SPARQL: Do not support AS outside of select expressions
- From: Jürg Billeter <juergbi src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [tracker] SPARQL: Do not support AS outside of select expressions
- Date: Thu, 17 Dec 2009 11:50:32 +0000 (UTC)
commit 5535c9d89a8805615c4ed6369d004fd1cb2b19ed
Author: Jürg Billeter <j bitron ch>
Date: Thu Dec 17 11:22:59 2009 +0100
SPARQL: Do not support AS outside of select expressions
src/libtracker-data/tracker-sparql-query.vala | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/src/libtracker-data/tracker-sparql-query.vala b/src/libtracker-data/tracker-sparql-query.vala
index 8e95096..a5b3c36 100644
--- a/src/libtracker-data/tracker-sparql-query.vala
+++ b/src/libtracker-data/tracker-sparql-query.vala
@@ -1272,9 +1272,6 @@ public class Tracker.SparqlQuery : Object {
long begin = sql.len;
var type = translate_function (sql, binding.literal);
expect (SparqlTokenType.CLOSE_PARENS);
- if (accept (SparqlTokenType.AS)) {
- expect (SparqlTokenType.PN_PREFIX);
- }
convert_expression_to_string (sql, type, begin);
} else {
sql.append ("?");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]