Skip to content
  • Carlos Garnacho's avatar
    libtracker-data: Handle empty clauses before BIND · de701275
    Carlos Garnacho authored
    The way BIND works, we wrap the current statements with a SELECT
    where we can set the variable name. This however broke if there's
    no prior statements, eg:
    
      SELECT ?a { BIND (?a AS ... ) ... }
    
    Generate correct SQL for this case.
    de701275