[tracker/tracker-0.10] libtracker-data: Do not consider index recreation failure fatal
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/tracker-0.10] libtracker-data: Do not consider index recreation failure fatal
- Date: Mon, 26 Sep 2011 10:47:16 +0000 (UTC)
commit f95bc68224b06f78471010bb7d7785b3acedb40b
Author: JÃrg Billeter <j bitron ch>
Date: Fri Sep 23 13:28:00 2011 +0200
libtracker-data: Do not consider index recreation failure fatal
Tracker can operate with missing indices.
Fixes NB#283501.
src/libtracker-data/tracker-data-manager.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/libtracker-data/tracker-data-manager.c b/src/libtracker-data/tracker-data-manager.c
index 28b6aeb..7b8dab2 100644
--- a/src/libtracker-data/tracker-data-manager.c
+++ b/src/libtracker-data/tracker-data-manager.c
@@ -3478,8 +3478,10 @@ tracker_data_manager_recreate_indexes (TrackerBusyCallback busy_callback,
fix_indexed (properties [i], TRUE, &internal_error);
if (internal_error) {
- g_propagate_error (error, internal_error);
- return;
+ g_critical ("Unable to create index for %s: %s",
+ tracker_property_get_name (properties[i]),
+ internal_error->message);
+ g_clear_error (&internal_error);
}
if (busy_callback) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]