Update issue #405

Status: Fixed


git-svn-id: https://duplicati.googlecode.com/svn/trunk@829 59da171f-624f-0410-aa54-27559c288bec
This commit is contained in:
kenneth.skovhede@gmail.com
2011-07-04 17:31:25 +00:00
parent aa63769bce
commit f5ab77fdcb
+12
View File
@@ -303,6 +303,18 @@ namespace Duplicati.GUI
MessageBox.Show(string.Format(Strings.Program.SeriousError, ex.ToString()), Application.ProductName, MessageBoxButtons.OK, MessageBoxIcon.Error);
}
try
{
//Compress the database
using (System.Data.IDbCommand vaccum_cmd = DataConnection.Provider.Connection.CreateCommand())
{
vaccum_cmd.CommandText = "VACUUM;";
vaccum_cmd.ExecuteNonQuery();
}
}
catch
{ }
if (Scheduler != null)
Scheduler.Terminate(true);