[tracker] libtracker-data: Propagate DB initialization error in data_manager_init
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] libtracker-data: Propagate DB initialization error in data_manager_init
- Date: Tue, 2 Mar 2010 16:10:48 +0000 (UTC)
commit 277ee5308bc87ecfae07eedd865649245df0fbc7
Author: Jürg Billeter <j bitron ch>
Date: Tue Mar 2 17:09:11 2010 +0100
libtracker-data: Propagate DB initialization error in data_manager_init
src/libtracker-data/tracker-data-manager.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-data/tracker-data-manager.c b/src/libtracker-data/tracker-data-manager.c
index 93d557c..ddd554e 100644
--- a/src/libtracker-data/tracker-data-manager.c
+++ b/src/libtracker-data/tracker-data-manager.c
@@ -1574,7 +1574,9 @@ tracker_data_manager_init (TrackerDBManagerFlags flags,
read_journal = FALSE;
- tracker_db_manager_init (flags, &is_first_time_index, FALSE);
+ if (!tracker_db_manager_init (flags, &is_first_time_index, FALSE)) {
+ return FALSE;
+ }
if (first_time != NULL) {
*first_time = is_first_time_index;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]