tracker r1340 - branches/indexer-split/src/trackerd



Author: pvanhoof
Date: Fri May  2 17:43:45 2008
New Revision: 1340
URL: http://svn.gnome.org/viewvc/tracker?rev=1340&view=rev

Log:
Completing some code

Modified:
   branches/indexer-split/src/trackerd/tracker-xesam.c

Modified: branches/indexer-split/src/trackerd/tracker-xesam.c
==============================================================================
--- branches/indexer-split/src/trackerd/tracker-xesam.c	(original)
+++ branches/indexer-split/src/trackerd/tracker-xesam.c	Fri May  2 17:43:45 2008
@@ -153,7 +153,7 @@
 	result_set = tracker_db_get_events (db_con);
 	// lock (indexer)
 
-	if (result_set /* TODO: If there are events */) {
+	if (tracker_db_result_set_get_n_rows (result_set) > 0) {
 
 		reason_to_live = TRUE;
 



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