[tracker-miners/wip/carlosg/perf-squeeze: 7/16] tracker-miner-fs: Move files into the tracker:FileSystem graph



commit 42b506b5ea08fb1cdec1b20a94be2f084e7b569c
Author: Carlos Garnacho <carlosg gnome org>
Date:   Sat Jul 4 19:50:41 2020 +0200

    tracker-miner-fs: Move files into the tracker:FileSystem graph
    
    The ::move-file event didn't get properly updated to the usage of the
    tracker:FileSystem graph, writing the new files in the default graph.
    Make it use the filesystem graph as it should.

 src/miners/fs/tracker-miner-files.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/src/miners/fs/tracker-miner-files.c b/src/miners/fs/tracker-miner-files.c
index 739a6f427..103c8e890 100644
--- a/src/miners/fs/tracker-miner-files.c
+++ b/src/miners/fs/tracker-miner-files.c
@@ -2477,7 +2477,8 @@ miner_files_move_file (TrackerMinerFS *fs,
                                "  GRAPH ?g {"
                                "    ?ie nie:isStoredAs <%s> "
                                "  }"
-                               "} "
+                               "}; "
+                               "WITH " DEFAULT_GRAPH " "
                                "DELETE { "
                                "  <%s> a rdfs:Resource . "
                                "} INSERT { "


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]