[tracker/journal] squash with previous



commit c741e4e1efabedcd2cfb1098e08661c1dc901716
Author: Philip Van Hoof <philip codeminded be>
Date:   Wed Mar 17 12:49:55 2010 +0100

    squash with previous

 src/libtracker-data/tracker-data-update.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/src/libtracker-data/tracker-data-update.c b/src/libtracker-data/tracker-data-update.c
index baa82d7..9bdffd4 100644
--- a/src/libtracker-data/tracker-data-update.c
+++ b/src/libtracker-data/tracker-data-update.c
@@ -2407,8 +2407,7 @@ tracker_data_replay_journal (GHashTable *classes,
 	static TrackerProperty *rdf_type = NULL;
 	gint last_operation_type = 0;
 
-	tracker_data_begin_transaction ();
-	in_journal_replay = TRUE;
+	tracker_data_begin_replay_transaction (0);
 
 	if (!rdf_type) {
 		rdf_type = tracker_ontologies_get_property_by_uri (RDF_PREFIX "type");
@@ -2642,7 +2641,6 @@ tracker_data_replay_journal (GHashTable *classes,
 		tracker_db_journal_reader_shutdown ();
 	}
 
-	in_journal_replay = FALSE;
 	tracker_data_commit_transaction ();
 
 }



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