[tracker/binary-log-2: 34/48] libtracker-data: Merge fixes
- From: Jürg Billeter <juergbi src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [tracker/binary-log-2: 34/48] libtracker-data: Merge fixes
- Date: Mon, 11 Jan 2010 16:01:02 +0000 (UTC)
commit 3f6d0a703e7479e64d53c25c8f1f327ae398c60d
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]