summaryrefslogtreecommitdiff
path: root/src/tracker-control
diff options
context:
space:
mode:
authorPhilip Van Hoof <philip@codeminded.be>2011-06-24 17:56:01 +0200
committerJürg Billeter <j@bitron.ch>2011-06-29 17:24:42 +0200
commit79ad6802d34a8d2f45c2de7b760b2dabe10fbb29 (patch)
tree2c56abb32a6efabe2973c28dbcbbfbba504a50f0 /src/tracker-control
parent44ca01c2fec4ae4c5fb38efe0f928e75a477188e (diff)
downloadtracker-79ad6802d34a8d2f45c2de7b760b2dabe10fbb29.tar.gz
libtracker-data: Initialization of db during restore must be handled if fails
In case the initialization of the db fails during the restore of a backup, and only in case of --disable-journal, then should the init fail with an error instead of trying to recreate a clean meta.db
Diffstat (limited to 'src/tracker-control')
-rw-r--r--src/tracker-control/tracker-control-general.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tracker-control/tracker-control-general.c b/src/tracker-control/tracker-control-general.c
index 4c2d812a6..4f8ba95d7 100644
--- a/src/tracker-control/tracker-control-general.c
+++ b/src/tracker-control/tracker-control-general.c
@@ -472,6 +472,7 @@ tracker_control_general_run (void)
if (!tracker_db_manager_init (TRACKER_DB_MANAGER_REMOVE_ALL,
NULL,
FALSE,
+ FALSE,
100,
100,
NULL,