[tracker/binary-log-2: 38/45] libtracker-data: Merge fixes
- From: Jürg Billeter <juergbi src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [tracker/binary-log-2: 38/45] libtracker-data: Merge fixes
- Date: Fri, 8 Jan 2010 11:28:27 +0000 (UTC)
commit 4f025655c7262e3777ce136bf64ec4d1f617653d
Author: Jürg Billeter <j bitron ch>
Date: Thu Jan 7 12:13:32 2010 +0100
libtracker-data: Merge fixes
src/libtracker-data/tracker-data-manager.c | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/src/libtracker-data/tracker-data-manager.c b/src/libtracker-data/tracker-data-manager.c
index 4edd859..ed5d5d7 100644
--- a/src/libtracker-data/tracker-data-manager.c
+++ b/src/libtracker-data/tracker-data-manager.c
@@ -994,7 +994,13 @@ tracker_data_manager_init (TrackerDBManagerFlags flags,
/* create tables */
for (i = 0; i < n_classes; i++) {
- create_decomposed_metadata_tables (iface, classes[i], &max_id);
+ create_decomposed_metadata_tables (iface, classes[i]);
+ }
+
+ /* insert classes into rdfs:Resource table */
+ for (i = 0; i < n_classes; i++) {
+ insert_uri_in_resource_table (iface, tracker_class_get_uri (classes[i]),
+ &max_id, classes[i], NULL);
}
/* insert properties into rdfs:Resource table */
@@ -1093,7 +1099,7 @@ tracker_data_manager_init (TrackerDBManagerFlags flags,
/* insert classes into rdfs:Resource table */
for (i = 0; i < n_classes; i++) {
insert_uri_in_resource_table (iface, tracker_class_get_uri (classes[i]),
- &max_id);
+ &max_id, classes[i], NULL);
}
/* insert properties into rdfs:Resource table */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]