[tracker/journal: 2/6] libtracker-miner: Always reextract partially restored files
- From: juergbi src gnome org
- To: commits-list gnome org
- Cc:
- Subject: [tracker/journal: 2/6] libtracker-miner: Always reextract partially restored files
- Date: Wed, 2 Feb 2011 11:07:56 +0000 (UTC)
commit b3b72da88800f9e80b0277f94885a9c07a1dee32
Author: Jürg Billeter <j bitron ch>
Date: Mon Jan 31 16:36:39 2011 +0100
libtracker-miner: Always reextract partially restored files
Partially restored resources are marked as tracker:damaged.
src/libtracker-miner/tracker-miner-fs.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-miner-fs.c b/src/libtracker-miner/tracker-miner-fs.c
index e5ef1f5..5cb3356 100644
--- a/src/libtracker-miner/tracker-miner-fs.c
+++ b/src/libtracker-miner/tracker-miner-fs.c
@@ -2976,7 +2976,7 @@ ensure_mtime_cache (TrackerMinerFS *fs,
g_debug ("Generating mtime cache for URI '%s'", uri);
- query = g_strdup_printf ("SELECT ?url ?last { "
+ query = g_strdup_printf ("SELECT ?url IF(tracker:damaged(?u), '0001-01-01T00:00:00Z', ?last) { "
"?u nfo:belongsToContainer ?p ; "
" nie:url ?url ; "
" nfo:fileLastModified ?last . "
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]