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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user