[tracker-miners/wip/carlosg/shuffle-libtracker-miner: 72/116] libtracker-miner: Use '; ' as separator for multiple update statements
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker-miners/wip/carlosg/shuffle-libtracker-miner: 72/116] libtracker-miner: Use '; ' as separator for multiple update statements
- Date: Sat, 14 Dec 2019 16:20:51 +0000 (UTC)
commit 4a9dd1c5c232d3986ba80f7d03e54e1e9c228ab7
Author: Carlos Garnacho <carlosg gnome org>
Date: Wed Aug 29 14:05:38 2018 +0200
libtracker-miner: Use ';' as separator for multiple update statements
Let's stick to SPARQL1.1 correct syntax.
src/libtracker-miner/tracker-miner-fs.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-miner-fs.c b/src/libtracker-miner/tracker-miner-fs.c
index df6150a23..2b25d3817 100644
--- a/src/libtracker-miner/tracker-miner-fs.c
+++ b/src/libtracker-miner/tracker-miner-fs.c
@@ -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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]