[tracker/tracker-0.12: 107/202] 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.12: 107/202] libtracker-data: Do not consider index recreation failure fatal
- Date: Thu, 6 Oct 2011 17:57:27 +0000 (UTC)
commit fbaf344b0ca7cee27abd59b5f3447bd6befd456c
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]