Commit 3045aaf1 authored by Carlos Garnacho's avatar Carlos Garnacho

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

Let's stick to SPARQL1.1 correct syntax.
parent 2c80638c
......@@ -1483,7 +1483,7 @@ item_remove (TrackerMinerFS *fs,
if (sparql && sparql[0] != '\0') {
g_string_append (task_sparql, sparql);
g_string_append_c (task_sparql, '\n');
g_string_append (task_sparql, ";\n");
}
g_free (sparql);
......@@ -1579,7 +1579,7 @@ item_move (TrackerMinerFS *fs,
if (sparql && sparql[0] != '\0') {
/* This is treated as a task on dest_file */
g_string_append (dest_task_sparql, sparql);
g_string_append_c (dest_task_sparql, '\n');
g_string_append (dest_task_sparql, ";\n");
}
g_free (sparql);
......
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