[tracker] libtracker-miner: Insert into the right graph when moving items
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] libtracker-miner: Insert into the right graph when moving items
- Date: Sat, 4 Jun 2016 22:58:29 +0000 (UTC)
commit b7aa32c88e1b4920295c714befeb2110a6508131
Author: Carlos Garnacho <carlosg gnome org>
Date: Sat Jun 4 16:56:46 2016 +0200
libtracker-miner: Insert into the right graph when moving items
The query to update parent-dependent data was using the source file
urn as a graph urn.
src/libtracker-miner/tracker-miner-fs.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-miner-fs.c b/src/libtracker-miner/tracker-miner-fs.c
index b466913..d8529da 100644
--- a/src/libtracker-miner/tracker-miner-fs.c
+++ b/src/libtracker-miner/tracker-miner-fs.c
@@ -1944,7 +1944,7 @@ item_move (TrackerMinerFS *fs,
" nie:isStoredAs <%s> ; "
" nfo:belongsToContainer \"%s\""
"}" ,
- source_iri, source_iri,
+ TRACKER_OWN_GRAPH_URN, source_iri,
display_name, uri,
source_iri,
new_parent_iri);
@@ -1957,7 +1957,7 @@ item_move (TrackerMinerFS *fs,
" nie:url \"%s\" ; "
" nie:isStoredAs <%s>"
"} ",
- source_iri, source_iri,
+ TRACKER_OWN_GRAPH_URN, source_iri,
display_name, uri,
source_iri);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]