GNOME Bugzilla – Bug 759361
Doesn't complain about unbound variable in COUNT()
Last modified: 2016-09-06 16:25:12 UTC
Today I learnt that "SELECT ?u COUNT(?foo) WHERE {?u a rdfs:Resource}" yields the same results as "SELECT ?u COUNT(?u) WHERE {?u a rdfs:Resource}". It doesn't complain about ?foo being unbound.
Created attachment 329141 [details] [review] libtracker-data: Ensure variables are defined in aggregate expressions Look those up and error out if they are undefined.
Pushed the fix. Attachment 329141 [details] pushed as 003f7fd - libtracker-data: Ensure variables are defined in aggregate expressions