f-spot r4470 - in branches/FSPOT_0_5_0_STABLE: . src



Author: sdelcroix
Date: Mon Oct  6 10:04:48 2008
New Revision: 4470
URL: http://svn.gnome.org/viewvc/f-spot?rev=4470&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:
   branches/FSPOT_0_5_0_STABLE/ChangeLog
   branches/FSPOT_0_5_0_STABLE/src/Updater.cs

Modified: branches/FSPOT_0_5_0_STABLE/src/Updater.cs
==============================================================================
--- branches/FSPOT_0_5_0_STABLE/src/Updater.cs	(original)
+++ branches/FSPOT_0_5_0_STABLE/src/Updater.cs	Mon Oct  6 10:04:48 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]