From 0828c28501cfb14100d1270924ec77a8877ba94e Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Mon, 19 Jan 2009 15:16:17 +0000 Subject: * 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. --- OpenSim/Data/MSSQL/MSSQLRegionData.cs | 2 -- 1 file changed, 2 deletions(-) (limited to 'OpenSim/Data/MSSQL') diff --git a/OpenSim/Data/MSSQL/MSSQLRegionData.cs b/OpenSim/Data/MSSQL/MSSQLRegionData.cs index 87960f0..5ab29ff 100644 --- a/OpenSim/Data/MSSQL/MSSQLRegionData.cs +++ b/OpenSim/Data/MSSQL/MSSQLRegionData.cs @@ -934,7 +934,6 @@ VALUES prim.UUID = new UUID((String)primRow["UUID"]); // explicit conversion of integers is required, which sort // of sucks. No idea if there is a shortcut here or not. - //prim.ParentID = (uint)Convert.ToInt32(primRow["ParentID"]); prim.CreationDate = Convert.ToInt32(primRow["CreationDate"]); prim.Name = (String)primRow["Name"]; // various text fields @@ -1315,7 +1314,6 @@ VALUES parameters.Add(_Database.CreateParameter("UUID", prim.UUID)); parameters.Add(_Database.CreateParameter("RegionUUID", regionUUID)); - //parameters.Add(_Database.CreateParameter("ParentID", (int)prim.ParentID)); parameters.Add(_Database.CreateParameter("CreationDate", prim.CreationDate)); parameters.Add(_Database.CreateParameter("Name", prim.Name)); parameters.Add(_Database.CreateParameter("SceneGroupID", sceneGroupID)); -- cgit v1.1