aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/MSSQL/MSSQLRegionData.cs
diff options
context:
space:
mode:
authorJustin Clarke Casey2009-01-05 20:43:03 +0000
committerJustin Clarke Casey2009-01-05 20:43:03 +0000
commite98385dd74b937ee9b775460e5ab0d94dcf638b5 (patch)
tree9efcb7b02e59ba60b01a37376c270d721d96126c /OpenSim/Data/MSSQL/MSSQLRegionData.cs
parentAdd the "Blank" texture, too. (diff)
downloadopensim-SC_OLD-e98385dd74b937ee9b775460e5ab0d94dcf638b5.zip
opensim-SC_OLD-e98385dd74b937ee9b775460e5ab0d94dcf638b5.tar.gz
opensim-SC_OLD-e98385dd74b937ee9b775460e5ab0d94dcf638b5.tar.bz2
opensim-SC_OLD-e98385dd74b937ee9b775460e5ab0d94dcf638b5.tar.xz
* 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
Diffstat (limited to 'OpenSim/Data/MSSQL/MSSQLRegionData.cs')
-rw-r--r--OpenSim/Data/MSSQL/MSSQLRegionData.cs2
1 files changed, 0 insertions, 2 deletions
diff --git a/OpenSim/Data/MSSQL/MSSQLRegionData.cs b/OpenSim/Data/MSSQL/MSSQLRegionData.cs
index 5845dcb..179b48a 100644
--- a/OpenSim/Data/MSSQL/MSSQLRegionData.cs
+++ b/OpenSim/Data/MSSQL/MSSQLRegionData.cs
@@ -930,7 +930,6 @@ VALUES
930 prim.UUID = new UUID((String)primRow["UUID"]); 930 prim.UUID = new UUID((String)primRow["UUID"]);
931 // explicit conversion of integers is required, which sort 931 // explicit conversion of integers is required, which sort
932 // of sucks. No idea if there is a shortcut here or not. 932 // of sucks. No idea if there is a shortcut here or not.
933 prim.ParentID = (uint)Convert.ToInt32(primRow["ParentID"]);
934 prim.CreationDate = Convert.ToInt32(primRow["CreationDate"]); 933 prim.CreationDate = Convert.ToInt32(primRow["CreationDate"]);
935 prim.Name = (String)primRow["Name"]; 934 prim.Name = (String)primRow["Name"];
936 // various text fields 935 // various text fields
@@ -1307,7 +1306,6 @@ VALUES
1307 { 1306 {
1308 row["UUID"] = prim.UUID.ToString(); 1307 row["UUID"] = prim.UUID.ToString();
1309 row["RegionUUID"] = regionUUID.ToString(); 1308 row["RegionUUID"] = regionUUID.ToString();
1310 row["ParentID"] = (int)prim.ParentID;
1311 row["CreationDate"] = prim.CreationDate; 1309 row["CreationDate"] = prim.CreationDate;
1312 row["Name"] = prim.Name; 1310 row["Name"] = prim.Name;
1313 row["SceneGroupID"] = sceneGroupID.ToString(); 1311 row["SceneGroupID"] = sceneGroupID.ToString();