aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Data.MySQL/MySQLGridData.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/Data.MySQL/MySQLGridData.cs7
1 files changed, 6 insertions, 1 deletions
diff --git a/OpenSim/Framework/Data.MySQL/MySQLGridData.cs b/OpenSim/Framework/Data.MySQL/MySQLGridData.cs
index eefb4e9..0ae8e0b 100644
--- a/OpenSim/Framework/Data.MySQL/MySQLGridData.cs
+++ b/OpenSim/Framework/Data.MySQL/MySQLGridData.cs
@@ -97,11 +97,16 @@ namespace OpenSim.Framework.Data.MySQL
97 database.ExecuteResourceSql("CreateRegionsTable.sql"); 97 database.ExecuteResourceSql("CreateRegionsTable.sql");
98 return; 98 return;
99 } 99 }
100 else if (oldVersion.Contains("Rev. 1")) 100 if (oldVersion.Contains("Rev. 1"))
101 { 101 {
102 database.ExecuteResourceSql("UpgradeRegionsTableToVersion2.sql"); 102 database.ExecuteResourceSql("UpgradeRegionsTableToVersion2.sql");
103 return; 103 return;
104 } 104 }
105 if (oldVersion.Contains("Rev. 2"))
106 {
107 database.ExecuteResourceSql("UpgradeRegionsTableToVersion3.sql");
108 return;
109 }
105 } 110 }
106 111
107 #endregion 112 #endregion