[tracker] libtracker-data: Do not print critical if db-locale.txt does not exist
- From: JÃrg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] libtracker-data: Do not print critical if db-locale.txt does not exist
- Date: Wed, 29 Jun 2011 14:05:24 +0000 (UTC)
commit 2e03ed6c94e5062b412a2326ba8d857f5932d5e5
Author: JÃrg Billeter <j bitron ch>
Date: Mon Jun 27 13:00:19 2011 +0200
libtracker-data: Do not print critical if db-locale.txt does not exist
src/libtracker-data/tracker-db-manager.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-data/tracker-db-manager.c b/src/libtracker-data/tracker-db-manager.c
index e6a7827..e771970 100644
--- a/src/libtracker-data/tracker-db-manager.c
+++ b/src/libtracker-data/tracker-db-manager.c
@@ -608,7 +608,9 @@ db_get_locale (void)
g_critical (" Could not get content of file '%s'", filename);
}
} else {
- g_critical (" Could not find database locale file:'%s'", filename);
+ /* expected when restoring from backup, always recreate indices */
+ g_message (" Could not find database locale file:'%s'", filename);
+ return g_strdup ("unknown");
}
g_free (filename);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]