[tracker/binary-log-2: 13/63] libtracker-data: Use cached query_resource_id for object ids
- From: Jürg Billeter <juergbi src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [tracker/binary-log-2: 13/63] libtracker-data: Use cached query_resource_id for object ids
- Date: Fri, 8 Jan 2010 09:43:31 +0000 (UTC)
commit 7d1e963ccab325cf598ef9ce878d4ae3c3325a3b
Author: Jürg Billeter <j bitron ch>
Date: Wed Dec 30 14:35:37 2009 +0100
libtracker-data: Use cached query_resource_id for object ids
src/libtracker-data/tracker-data-update.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/libtracker-data/tracker-data-update.c b/src/libtracker-data/tracker-data-update.c
index 4d68f59..d89554b 100644
--- a/src/libtracker-data/tracker-data-update.c
+++ b/src/libtracker-data/tracker-data-update.c
@@ -1276,7 +1276,7 @@ tracker_data_delete_statement (const gchar *graph,
if (class != NULL) {
tracker_db_journal_append_delete_statement_code (resource_buffer->id,
tracker_data_query_resource_id (predicate),
- tracker_data_query_resource_id (object));
+ query_resource_id (object));
cache_delete_resource_type (class, graph);
} else {
@@ -1289,7 +1289,7 @@ tracker_data_delete_statement (const gchar *graph,
if (tracker_property_get_data_type (field) == TRACKER_PROPERTY_TYPE_RESOURCE) {
tracker_db_journal_append_delete_statement_code (resource_buffer->id,
tracker_data_query_resource_id (predicate),
- tracker_data_query_resource_id (object));
+ query_resource_id (object));
} else {
tracker_db_journal_append_delete_statement (resource_buffer->id,
tracker_data_query_resource_id (predicate),
@@ -1501,7 +1501,7 @@ tracker_data_insert_statement_with_uri (const gchar *graph,
tracker_db_journal_append_insert_statement_code (resource_buffer->id,
tracker_data_query_resource_id (predicate),
- tracker_data_query_resource_id (object));
+ query_resource_id (object));
if (strcmp (predicate, RDF_PREFIX "type") == 0) {
/* handle rdf:type statements specially to
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]