Commit 488a00f0 authored by Martyn James Russell's avatar Martyn James Russell

Make sure we check the mtime in the db and on the disk are the same here

	* src/tracker-indexer/tracker-indexer.c:
	(should_change_index_for_file): Make sure we check the mtime in
	the db and on the disk are the same here before returning, don't
	assume if the file is older it means the same thing.

svn path=/trunk/; revision=3099
parent 8c7d5062
2009-03-17 Martyn Russell <martyn@imendio.com>
* src/tracker-indexer/tracker-indexer.c:
(should_change_index_for_file): Make sure we check the mtime in
the db and on the disk are the same here before returning, don't
assume if the file is older it means the same thing.
2009-03-17 Martyn Russell <martyn@imendio.com>
* configure.ac: Provide information about if GStreamer helix is
......
......@@ -2345,7 +2345,7 @@ should_change_index_for_file (TrackerIndexer *indexer,
return TRUE;
}
if (current_mtime <= db_mtime) {
if (current_mtime == db_mtime) {
g_debug ("'%s' is already up to date in DB, not (re)indexing", path);
g_free (path);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment