* 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
0.6.2-post-fixes
Justin Clarke Casey 2009-01-05 20:43:03 +00:00
parent bf65290062
commit e98385dd74
1 changed files with 0 additions and 2 deletions

View File

@ -930,7 +930,6 @@ VALUES
prim.UUID = new UUID((String)primRow["UUID"]); prim.UUID = new UUID((String)primRow["UUID"]);
// explicit conversion of integers is required, which sort // explicit conversion of integers is required, which sort
// of sucks. No idea if there is a shortcut here or not. // 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.CreationDate = Convert.ToInt32(primRow["CreationDate"]);
prim.Name = (String)primRow["Name"]; prim.Name = (String)primRow["Name"];
// various text fields // various text fields
@ -1307,7 +1306,6 @@ VALUES
{ {
row["UUID"] = prim.UUID.ToString(); row["UUID"] = prim.UUID.ToString();
row["RegionUUID"] = regionUUID.ToString(); row["RegionUUID"] = regionUUID.ToString();
row["ParentID"] = (int)prim.ParentID;
row["CreationDate"] = prim.CreationDate; row["CreationDate"] = prim.CreationDate;
row["Name"] = prim.Name; row["Name"] = prim.Name;
row["SceneGroupID"] = sceneGroupID.ToString(); row["SceneGroupID"] = sceneGroupID.ToString();