[tracker/journal] squash with STATEMENT_INSERT commit
- From: Philip Van Hoof <pvanhoof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/journal] squash with STATEMENT_INSERT commit
- Date: Mon, 15 Mar 2010 13:19:49 +0000 (UTC)
commit a220c84e13d1db8305d7e78b20de49c2cd7b6405
Author: Philip Van Hoof <philip codeminded be>
Date: Mon Mar 15 14:11:36 2010 +0100
squash with STATEMENT_INSERT commit
src/libtracker-data/tracker-data-update.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/libtracker-data/tracker-data-update.c b/src/libtracker-data/tracker-data-update.c
index 346362d..0cb7446 100644
--- a/src/libtracker-data/tracker-data-update.c
+++ b/src/libtracker-data/tracker-data-update.c
@@ -2538,13 +2538,13 @@ tracker_data_replay_journal (GHashTable *classes,
tracker_db_journal_reader_get_statement (&graph_id, &subject_id, &predicate_id, &object);
- resource_buffer_switch (NULL, graph_id, NULL, subject_id);
-
property = g_hash_table_lookup (properties, GINT_TO_POINTER (predicate_id));
if (property) {
GError *new_error = NULL;
+ resource_buffer_switch (NULL, graph_id, NULL, subject_id);
+
cache_set_metadata_decomposed (property, object, 0, NULL, graph_id, &new_error);
if (new_error) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]