[tracker/ontology-cope] libtracker-data: Don't forget to pass is_uri



commit 092b8cf85b7bdb2e9598d4931cf58af3796920b6
Author: Philip Van Hoof <philip codeminded be>
Date:   Mon Mar 22 11:57:58 2010 +0100

    libtracker-data: Don't forget to pass is_uri

 src/libtracker-data/tracker-data-update.c |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/src/libtracker-data/tracker-data-update.c b/src/libtracker-data/tracker-data-update.c
index d5f9566..c0748f5 100644
--- a/src/libtracker-data/tracker-data-update.c
+++ b/src/libtracker-data/tracker-data-update.c
@@ -2328,7 +2328,8 @@ ontology_statement_insert (GList       *ontology_queue,
                            const gchar *object,
                            GHashTable  *classes,
                            GHashTable  *properties,
-                           GHashTable  *id_uri_map)
+                           GHashTable  *id_uri_map,
+                           gboolean     is_uri)
 {
 	const gchar *graph, *subject, *predicate;
 
@@ -2344,7 +2345,7 @@ ontology_statement_insert (GList       *ontology_queue,
 	tracker_data_ontology_load_statement ("journal", subject_id, subject, predicate, 
 	                                      object, NULL, FALSE, classes, properties);
 
-	ontology_queue = queue_statement (ontology_queue, graph, subject, predicate, object, FALSE);
+	ontology_queue = queue_statement (ontology_queue, graph, subject, predicate, object, is_uri);
 
 	return ontology_queue;
 }
@@ -2446,7 +2447,8 @@ tracker_data_replay_journal (GHashTable *classes,
 				                                            object,
 				                                            classes,
 				                                            properties,
-				                                            id_uri_map);
+				                                            id_uri_map,
+				                                            FALSE);
 				continue;
 			}
 
@@ -2492,7 +2494,8 @@ tracker_data_replay_journal (GHashTable *classes,
 				                                            object_n,
 				                                            classes,
 				                                            properties,
-				                                            id_uri_map);
+				                                            id_uri_map,
+				                                            TRUE);
 				continue;
 			}
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]