diff options
author | meta7 | 2010-08-18 02:53:27 -0700 |
---|---|---|
committer | meta7 | 2010-08-18 02:53:27 -0700 |
commit | ca8b1e488c167e5644567cb001c9c2a6504f15f7 (patch) | |
tree | 2a99b396dd4ccbd6c801efc0890fad1bd94b45e2 /OpenSim/Data/MSSQL | |
parent | Fix a nullref exception in the prioritizer (diff) | |
parent | Merge branch 'master' into careminster-presence-refactor (diff) | |
download | opensim-SC_OLD-ca8b1e488c167e5644567cb001c9c2a6504f15f7.zip opensim-SC_OLD-ca8b1e488c167e5644567cb001c9c2a6504f15f7.tar.gz opensim-SC_OLD-ca8b1e488c167e5644567cb001c9c2a6504f15f7.tar.bz2 opensim-SC_OLD-ca8b1e488c167e5644567cb001c9c2a6504f15f7.tar.xz |
Merge branch 'careminster-presence-refactor' of ssh://3dhosting.de/var/git/careminster into careminster-presence-refactor
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Data/MSSQL/MSSQLLegacyRegionData.cs | 4 |
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)); |