Commit 2c80638c authored by Carlos Garnacho's avatar Carlos Garnacho

libtracker-sparql: Use ';' as separator for multiple update statements

The separator being optional is a tracker-specific "feature". Seems better
to use proper SPARQL1.1 here.
parent 18e191e5
......@@ -1391,7 +1391,7 @@ generate_sparql_delete_queries (TrackerResource *resource,
g_string_append (data->string, " }");
}
g_string_append (data->string, "\n");
g_string_append (data->string, ";\n");
}
}
}
......@@ -1525,7 +1525,7 @@ tracker_resource_print_sparql_update (TrackerResource *resource,
if (graph_id) {
g_string_append (context.string, "}\n");
}
g_string_append (context.string, "}\n");
g_string_append (context.string, "};\n");
g_list_free (context.done_list);
context.done_list = NULL;
......
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