* Remove unused prims.ParentID field from SQLite and MySQL

* Since this is a db change, as always I strongly recommend that you backup your database before updating to this revision
* Haven't touched MSSQL in case I get it wrong - looking for some kind soul to take care of this.
This commit is contained in:
Justin Clarke Casey
2009-01-19 15:16:17 +00:00
parent 92e6bbcd63
commit 0828c28501
4 changed files with 16 additions and 6 deletions

View File

@@ -404,13 +404,12 @@ namespace OpenSim.Data.SQLite
DataTable shapes = ds.Tables["primshapes"];
string byRegion = "RegionUUID = '" + Util.ToRawUuidString(regionUUID) + "'";
string orderByParent = "ParentID ASC";
lock (ds)
{
DataRow[] primsForRegion = prims.Select(byRegion, orderByParent);
m_log.Info("[REGION DB]: " +
"Loaded " + primsForRegion.Length + " prims for region: " + regionUUID);
DataRow[] primsForRegion = prims.Select(byRegion);
m_log.Info("[REGION DB]: Loaded " + primsForRegion.Length + " prims for region: " + regionUUID);
// First, create all groups
foreach (DataRow primRow in primsForRegion)
{