[tracker/replay-test] libtracker-data: Do not check for ontology updates in test schema
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/replay-test] libtracker-data: Do not check for ontology updates in test schema
- Date: Mon, 15 Mar 2010 15:46:14 +0000 (UTC)
commit 332bf053c76e25d66c295f4a7ca80d99289b6b5c
Author: Jürg Billeter <j bitron ch>
Date: Mon Mar 15 16:44:43 2010 +0100
libtracker-data: Do not check for ontology updates in test schema
Ontology update check requires nao:lastModified, which is not available
in the limited test ontology set.
src/libtracker-data/tracker-data-manager.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-data/tracker-data-manager.c b/src/libtracker-data/tracker-data-manager.c
index ee01dfc..82e1dfe 100644
--- a/src/libtracker-data/tracker-data-manager.c
+++ b/src/libtracker-data/tracker-data-manager.c
@@ -1692,7 +1692,7 @@ tracker_data_manager_init (TrackerDBManagerFlags flags,
/* ensure FTS is fully initialized */
tracker_db_interface_execute_query (iface, NULL, "SELECT 1 FROM fulltext.fts WHERE rowid = 0");
- if (check_ontology) {
+ if (check_ontology && !test_schema) {
GList *to_reload = NULL;
sorted = get_ontologies (test_schema != NULL, ontologies_dir);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]