Commit 26abf972 authored by Jens Georg's avatar Jens Georg

tracker: Fix SPARQL syntax error

parent 0ead1ebb
......@@ -56,7 +56,7 @@ public abstract class Rygel.Tracker.MetadataValues : MetadataContainer {
var selected = new ArrayList<string> ();
selected.add ("DISTINCT " +
property_map[this.property] +
" AS x");
" AS ?x");
return new SelectionQuery (selected, triplets, null, "?x");
}
......
......@@ -215,7 +215,7 @@ public class Rygel.Tracker.SearchContainer : SimpleContainer {
query.variables = new ArrayList<string> ();
query.variables.add ("COUNT(" +
SelectionQuery.ITEM_VARIABLE +
") AS x");
") AS ?x");
yield query.execute (this.resources);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment