[tracker] tracker-miner-fs: Use DELETE instead of DROP GRAPH for volumes
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] tracker-miner-fs: Use DELETE instead of DROP GRAPH for volumes
- Date: Thu, 10 Jun 2010 08:11:46 +0000 (UTC)
commit f32326afebf232d18bc7550c9f2cf261dc8f5d51
Author: Jürg Billeter <j bitron ch>
Date: Wed Jun 9 14:46:20 2010 +0200
tracker-miner-fs: Use DELETE instead of DROP GRAPH for volumes
Our DROP GRAPH implementation was not meant to be used like that.
Regular DELETE semantics work fine here.
src/miners/fs/tracker-miner-files.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/miners/fs/tracker-miner-files.c b/src/miners/fs/tracker-miner-files.c
index ef7ee80..ad708c6 100644
--- a/src/miners/fs/tracker-miner-files.c
+++ b/src/miners/fs/tracker-miner-files.c
@@ -596,7 +596,7 @@ set_up_mount_point (TrackerMinerFiles *miner,
removable_device_urn, removable_device_urn, uri);
g_string_append_printf (queries,
- "DROP GRAPH <%s> "
+ "DELETE { <%s> a rdfs:Resource } "
"INSERT INTO <%s> { "
" <%s> a tracker:Volume; "
" tracker:mountPoint ?u "
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]