[tracker/tracker-store] tracker-indexer: Do not use database transactions



commit 121584b8e24d3cbe20048cbe895fd9a62ec52a9d
Author: Jürg Billeter <j bitron ch>
Date:   Tue May 5 13:44:55 2009 +0200

    tracker-indexer: Do not use database transactions
    
    Write access will be moved to trackerd.
---
 src/tracker-indexer/tracker-indexer.c |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)

diff --git a/src/tracker-indexer/tracker-indexer.c b/src/tracker-indexer/tracker-indexer.c
index 445145d..76a0939 100644
--- a/src/tracker-indexer/tracker-indexer.c
+++ b/src/tracker-indexer/tracker-indexer.c
@@ -275,11 +275,7 @@ path_info_free (PathInfo *info)
 static void
 start_transaction (TrackerIndexer *indexer)
 {
-	g_debug ("Transaction start");
-
 	indexer->private->in_transaction = TRUE;
-
-	tracker_data_begin_transaction ();
 }
 
 static void
@@ -289,11 +285,7 @@ stop_transaction (TrackerIndexer *indexer)
 		return;
 	}
 
-	tracker_data_commit_transaction ();
-
 	indexer->private->in_transaction = FALSE;
-
-	g_debug ("Transaction commit");
 }
 
 static void



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