aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Data')
-rw-r--r--OpenSim/Data/MySQL/MySQLInventoryData.cs13
1 files changed, 7 insertions, 6 deletions
diff --git a/OpenSim/Data/MySQL/MySQLInventoryData.cs b/OpenSim/Data/MySQL/MySQLInventoryData.cs
index 2c781e0..944c2f5 100644
--- a/OpenSim/Data/MySQL/MySQLInventoryData.cs
+++ b/OpenSim/Data/MySQL/MySQLInventoryData.cs
@@ -101,10 +101,11 @@ namespace OpenSim.Data.MySQL
101 } 101 }
102 102
103 // if the table is already at the current version, then we can exit immediately 103 // if the table is already at the current version, then we can exit immediately
104// if (oldVersion == "Rev. 2") 104 if (oldVersion.StartsWith("Rev. 2;"))
105// return; 105 {
106 106 m_log.Info("[INVENTORY DB]: Upgrading inventory items table from Rev. 2 to Rev. 3");
107// database.ExecuteResourceSql("UpgradeItemsTableToVersion2.sql"); 107 database.ExecuteResourceSql("UpgradeItemsTableToVersion3.sql");
108 }
108 } 109 }
109 110
110 private void TestTables(MySqlConnection conn) 111 private void TestTables(MySqlConnection conn)
@@ -115,8 +116,8 @@ namespace OpenSim.Data.MySQL
115 tableList["inventoryitems"] = null; 116 tableList["inventoryitems"] = null;
116 117
117 database.GetTableVersion(tableList); 118 database.GetTableVersion(tableList);
118 m_log.Info("[MYSQL]: Inventory Folder Version: " + tableList["inventoryfolders"]); 119 m_log.Info("[INVENTORY DB]: Inventory Folder Version: " + tableList["inventoryfolders"]);
119 m_log.Info("[MYSQL]: Inventory Items Version: " + tableList["inventoryitems"]); 120 m_log.Info("[INVENTORY DB]: Inventory Items Version: " + tableList["inventoryitems"]);
120 121
121 UpgradeFoldersTable(tableList["inventoryfolders"]); 122 UpgradeFoldersTable(tableList["inventoryfolders"]);
122 UpgradeItemsTable(tableList["inventoryitems"]); 123 UpgradeItemsTable(tableList["inventoryitems"]);