evolution-data-server r9316 - trunk/camel



Author: psankar
Date: Mon Aug 11 08:08:44 2008
New Revision: 9316
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=9316&view=rev

Log:
2008-08-11  Sankar P  <psankar novell com>

	* camel-vee-folder.c (folder_changed_change):
	Remove dummy db transactions.




Modified:
   trunk/camel/ChangeLog
   trunk/camel/camel-vee-folder.c

Modified: trunk/camel/camel-vee-folder.c
==============================================================================
--- trunk/camel/camel-vee-folder.c	(original)
+++ trunk/camel/camel-vee-folder.c	Mon Aug 11 08:08:44 2008
@@ -1492,7 +1492,7 @@
 	}
 
 	CAMEL_VEE_FOLDER_LOCK(vf, summary_lock);
-	if (changes->uid_added->len || changes->uid_removed->len || changes->uid_changed->len)
+	if (matches_changed || matches_added || changes->uid_removed->len)
 		camel_db_begin_transaction (folder->parent_store->cdb, NULL);
 
 	if (folder_unmatched != NULL)
@@ -1613,7 +1613,7 @@
 		vf->changes = camel_folder_change_info_new();
 	}
 
-	if (changes->uid_added->len || changes->uid_removed->len || changes->uid_changed->len)
+	if (matches_changed || matches_added || changes->uid_removed->len)
 		camel_db_end_transaction (folder->parent_store->cdb, NULL);
 	CAMEL_VEE_FOLDER_UNLOCK(vf, summary_lock);
 



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