aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Data/Migration.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Data/Migration.cs b/OpenSim/Data/Migration.cs
index 9447deb..6637e1a 100644
--- a/OpenSim/Data/Migration.cs
+++ b/OpenSim/Data/Migration.cs
@@ -122,6 +122,13 @@ namespace OpenSim.Data
122 version = FindVersion(_type); 122 version = FindVersion(_type);
123 123
124 SortedList<int, string> migrations = GetMigrationsAfter(version); 124 SortedList<int, string> migrations = GetMigrationsAfter(version);
125 if (migrations.Count < 1)
126 return;
127
128 // to prevent people from killing long migrations.
129 m_log.InfoFormat("[MIGRATIONS] Upgrading {0} to latest revision.", _type);
130 m_log.Info("[MIGRATIONS] NOTE: this may take a while, don't interupt this process!");
131
125 DbCommand cmd = _conn.CreateCommand(); 132 DbCommand cmd = _conn.CreateCommand();
126 foreach (KeyValuePair<int, string> kvp in migrations) 133 foreach (KeyValuePair<int, string> kvp in migrations)
127 { 134 {