be a bit more verbose about what we are doing on the migration

side so that people don't think we're hung.
0.6.0-stable
Sean Dague 2008-06-16 19:33:08 +00:00
parent 340ef33e2e
commit e1409e0c04
1 changed files with 7 additions and 0 deletions

View File

@ -122,6 +122,13 @@ namespace OpenSim.Data
version = FindVersion(_type);
SortedList<int, string> migrations = GetMigrationsAfter(version);
if (migrations.Count < 1)
return;
// to prevent people from killing long migrations.
m_log.InfoFormat("[MIGRATIONS] Upgrading {0} to latest revision.", _type);
m_log.Info("[MIGRATIONS] NOTE: this may take a while, don't interupt this process!");
DbCommand cmd = _conn.CreateCommand();
foreach (KeyValuePair<int, string> kvp in migrations)
{