aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/MSSQL
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Data/MSSQL/MSSQLLegacyRegionData.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Data/MSSQL/MSSQLLegacyRegionData.cs b/OpenSim/Data/MSSQL/MSSQLLegacyRegionData.cs
index 7c176c7..7d017a6 100644
--- a/OpenSim/Data/MSSQL/MSSQLLegacyRegionData.cs
+++ b/OpenSim/Data/MSSQL/MSSQLLegacyRegionData.cs
@@ -1017,7 +1017,7 @@ VALUES
1017 prim.SitName = (string)primRow["SitName"]; 1017 prim.SitName = (string)primRow["SitName"];
1018 prim.TouchName = (string)primRow["TouchName"]; 1018 prim.TouchName = (string)primRow["TouchName"];
1019 // permissions 1019 // permissions
1020 prim.ObjectFlags = Convert.ToUInt32(primRow["ObjectFlags"]); 1020 prim.Flags = (PrimFlags)Convert.ToUInt32(primRow["ObjectFlags"]);
1021 prim.CreatorID = new UUID((Guid)primRow["CreatorID"]); 1021 prim.CreatorID = new UUID((Guid)primRow["CreatorID"]);
1022 prim.OwnerID = new UUID((Guid)primRow["OwnerID"]); 1022 prim.OwnerID = new UUID((Guid)primRow["OwnerID"]);
1023 prim.GroupID = new UUID((Guid)primRow["GroupID"]); 1023 prim.GroupID = new UUID((Guid)primRow["GroupID"]);
@@ -1408,7 +1408,7 @@ VALUES
1408 parameters.Add(_Database.CreateParameter("SitName", prim.SitName)); 1408 parameters.Add(_Database.CreateParameter("SitName", prim.SitName));
1409 parameters.Add(_Database.CreateParameter("TouchName", prim.TouchName)); 1409 parameters.Add(_Database.CreateParameter("TouchName", prim.TouchName));
1410 // permissions 1410 // permissions
1411 parameters.Add(_Database.CreateParameter("ObjectFlags", prim.ObjectFlags)); 1411 parameters.Add(_Database.CreateParameter("ObjectFlags", (uint)prim.Flags));
1412 parameters.Add(_Database.CreateParameter("CreatorID", prim.CreatorID)); 1412 parameters.Add(_Database.CreateParameter("CreatorID", prim.CreatorID));
1413 parameters.Add(_Database.CreateParameter("OwnerID", prim.OwnerID)); 1413 parameters.Add(_Database.CreateParameter("OwnerID", prim.OwnerID));
1414 parameters.Add(_Database.CreateParameter("GroupID", prim.GroupID)); 1414 parameters.Add(_Database.CreateParameter("GroupID", prim.GroupID));