diff options
Diffstat (limited to 'OpenSim/Data/MSSQL/MSSQLRegionData.cs')
-rw-r--r-- | OpenSim/Data/MSSQL/MSSQLRegionData.cs | 2 |
1 files changed, 0 insertions, 2 deletions
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 | |||
934 | prim.UUID = new UUID((String)primRow["UUID"]); | 934 | prim.UUID = new UUID((String)primRow["UUID"]); |
935 | // explicit conversion of integers is required, which sort | 935 | // explicit conversion of integers is required, which sort |
936 | // of sucks. No idea if there is a shortcut here or not. | 936 | // of sucks. No idea if there is a shortcut here or not. |
937 | //prim.ParentID = (uint)Convert.ToInt32(primRow["ParentID"]); | ||
938 | prim.CreationDate = Convert.ToInt32(primRow["CreationDate"]); | 937 | prim.CreationDate = Convert.ToInt32(primRow["CreationDate"]); |
939 | prim.Name = (String)primRow["Name"]; | 938 | prim.Name = (String)primRow["Name"]; |
940 | // various text fields | 939 | // various text fields |
@@ -1315,7 +1314,6 @@ VALUES | |||
1315 | 1314 | ||
1316 | parameters.Add(_Database.CreateParameter("UUID", prim.UUID)); | 1315 | parameters.Add(_Database.CreateParameter("UUID", prim.UUID)); |
1317 | parameters.Add(_Database.CreateParameter("RegionUUID", regionUUID)); | 1316 | parameters.Add(_Database.CreateParameter("RegionUUID", regionUUID)); |
1318 | //parameters.Add(_Database.CreateParameter("ParentID", (int)prim.ParentID)); | ||
1319 | parameters.Add(_Database.CreateParameter("CreationDate", prim.CreationDate)); | 1317 | parameters.Add(_Database.CreateParameter("CreationDate", prim.CreationDate)); |
1320 | parameters.Add(_Database.CreateParameter("Name", prim.Name)); | 1318 | parameters.Add(_Database.CreateParameter("Name", prim.Name)); |
1321 | parameters.Add(_Database.CreateParameter("SceneGroupID", sceneGroupID)); | 1319 | parameters.Add(_Database.CreateParameter("SceneGroupID", sceneGroupID)); |