f-spot r4472 - in trunk: . src



Author: sdelcroix
Date: Mon Oct  6 10:05:30 2008
New Revision: 4472
URL: http://svn.gnome.org/viewvc/f-spot?rev=4472&view=rev

Log:
2008-10-06  Stephane Delcroix  <sdelcroix novell com>

	* src/Updater.cs: update db to 16.3, stop any pending hash job, will
	stop hours of disk spinning...

Modified:
   trunk/ChangeLog
   trunk/src/Updater.cs

Modified: trunk/src/Updater.cs
==============================================================================
--- trunk/src/Updater.cs	(original)
+++ trunk/src/Updater.cs	Mon Oct  6 10:05:30 2008
@@ -342,6 +342,12 @@
 				 Execute ("CREATE INDEX idx_photos_roll_id ON photos(roll_id)");
 			 }, false);
 
+			// Update to version 16.3
+			AddUpdate (new Version (16,3), delegate () {
+				Execute (String.Format ("DELETE FROM jobs WHERE job_type = '{0}'", typeof(Jobs.CalculateHashJob).ToString ()));
+			}, false);
+
+
 			 // Update to version 17.0
 			//AddUpdate (new Version (14,0),delegate () {
 			//	do update here



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