[tracker] SPARQL: Align GROUP BY support with SPARQL 1.1 Draft



commit bd8cfb34bcd6d542566263e1450055b33af1b4b0
Author: Jürg Billeter <j bitron ch>
Date:   Thu Dec 10 12:10:24 2009 +0100

    SPARQL: Align GROUP BY support with SPARQL 1.1 Draft
    
    No implicit ordering, ASC and DESC are not supported for GROUP BY.

 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 673abf8..464356d 100644
--- a/src/libtracker-data/tracker-sparql-query.vala
+++ b/src/libtracker-data/tracker-sparql-query.vala
@@ -761,7 +761,7 @@ public class Tracker.SparqlQuery : Object {
 				} else {
 					sql.append (", ");
 				}
-				translate_order_condition (sql);
+				translate_expression (sql);
 			} while (current () != SparqlTokenType.ORDER && current () != SparqlTokenType.LIMIT && current () != SparqlTokenType.OFFSET && current () != SparqlTokenType.EOF);
 		}
 



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