tracker r2046 - in branches/indexer-split: . src/libtracker-db
- From: ifrade svn gnome org
- To: svn-commits-list gnome org
- Subject: tracker r2046 - in branches/indexer-split: . src/libtracker-db
- Date: Tue, 12 Aug 2008 10:11:28 +0000 (UTC)
Author: ifrade
Date: Tue Aug 12 10:11:28 2008
New Revision: 2046
URL: http://svn.gnome.org/viewvc/tracker?rev=2046&view=rev
Log:
It is not necessary to close and open the index after flush
Modified:
branches/indexer-split/ChangeLog
branches/indexer-split/src/libtracker-db/tracker-db-index.c
Modified: branches/indexer-split/src/libtracker-db/tracker-db-index.c
==============================================================================
--- branches/indexer-split/src/libtracker-db/tracker-db-index.c (original)
+++ branches/indexer-split/src/libtracker-db/tracker-db-index.c Tue Aug 12 10:11:28 2008
@@ -820,14 +820,6 @@
g_mutex_unlock (priv->mutex);
- /* If we had items to flush, close the index to write it to
- * disk.
- */
- if (size > 0) {
- tracker_db_index_close (index);
- tracker_db_index_open (index);
- }
-
return size;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]