From e98385dd74b937ee9b775460e5ab0d94dcf638b5 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Mon, 5 Jan 2009 20:43:03 +0000 Subject: [PATCH] * Stop bothering to populate and retrieve the parent local ids for MSSQL, as was done for SQLite and MySQL in r7586 * This may resolve http://opensimulator.org/mantis/view.php?id=2939 --- OpenSim/Data/MSSQL/MSSQLRegionData.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/OpenSim/Data/MSSQL/MSSQLRegionData.cs b/OpenSim/Data/MSSQL/MSSQLRegionData.cs index 5845dcb064..179b48a55e 100644 --- a/OpenSim/Data/MSSQL/MSSQLRegionData.cs +++ b/OpenSim/Data/MSSQL/MSSQLRegionData.cs @@ -930,7 +930,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 @@ -1307,7 +1306,6 @@ VALUES { row["UUID"] = prim.UUID.ToString(); row["RegionUUID"] = regionUUID.ToString(); - row["ParentID"] = (int)prim.ParentID; row["CreationDate"] = prim.CreationDate; row["Name"] = prim.Name; row["SceneGroupID"] = sceneGroupID.ToString();