[tracker/urho-sync] Play journal always when meta.db didn't exist



commit d487838385db6ec4b3f7d89fc11440be60813a73
Author: Philip Van Hoof <philip codeminded be>
Date:   Mon Aug 24 11:44:40 2009 +0200

    Play journal always when meta.db didn't exist

 src/libtracker-db/tracker-db-manager.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-db/tracker-db-manager.c b/src/libtracker-db/tracker-db-manager.c
index 484450a..2507867 100644
--- a/src/libtracker-db/tracker-db-manager.c
+++ b/src/libtracker-db/tracker-db-manager.c
@@ -1047,9 +1047,10 @@ check_meta_backup (void)
 			if (g_file_query_exists (backup, NULL)) {
 				g_file_move (backup, file, G_FILE_COPY_OVERWRITE, NULL,
 					     NULL, NULL, NULL);
-				retval = TRUE;
 			}
 
+			retval = TRUE;
+
 			g_object_unref (parent);
 			g_object_unref (backup);
 		}



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