aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/MSSQL/MSSQLDataStore.cs
diff options
context:
space:
mode:
authorSean Dague2008-07-23 22:14:29 +0000
committerSean Dague2008-07-23 22:14:29 +0000
commitcf317f5c3352f066fd61a0fa5de19c93947be22c (patch)
tree2decd9652f6270789713f98b2ac550395b125c08 /OpenSim/Data/MSSQL/MSSQLDataStore.cs
parentadd primitems migration for nhibernate (diff)
downloadopensim-SC_OLD-cf317f5c3352f066fd61a0fa5de19c93947be22c.zip
opensim-SC_OLD-cf317f5c3352f066fd61a0fa5de19c93947be22c.tar.gz
opensim-SC_OLD-cf317f5c3352f066fd61a0fa5de19c93947be22c.tar.bz2
opensim-SC_OLD-cf317f5c3352f066fd61a0fa5de19c93947be22c.tar.xz
refactor TaskInventoryItem Mask -> Permissions to be consistant with how things
are stored in the db.
Diffstat (limited to 'OpenSim/Data/MSSQL/MSSQLDataStore.cs')
-rw-r--r--OpenSim/Data/MSSQL/MSSQLDataStore.cs20
1 files changed, 10 insertions, 10 deletions
diff --git a/OpenSim/Data/MSSQL/MSSQLDataStore.cs b/OpenSim/Data/MSSQL/MSSQLDataStore.cs
index 0ae879a..3f85fef 100644
--- a/OpenSim/Data/MSSQL/MSSQLDataStore.cs
+++ b/OpenSim/Data/MSSQL/MSSQLDataStore.cs
@@ -973,11 +973,11 @@ namespace OpenSim.Data.MSSQL
973 taskItem.LastOwnerID = new LLUUID((String)row["lastOwnerID"]); 973 taskItem.LastOwnerID = new LLUUID((String)row["lastOwnerID"]);
974 taskItem.GroupID = new LLUUID((String)row["groupID"]); 974 taskItem.GroupID = new LLUUID((String)row["groupID"]);
975 975
976 taskItem.NextOwnerMask = Convert.ToUInt32(row["nextPermissions"]); 976 taskItem.NextPermissions = Convert.ToUInt32(row["nextPermissions"]);
977 taskItem.OwnerMask = Convert.ToUInt32(row["currentPermissions"]); 977 taskItem.CurrentPermissions = Convert.ToUInt32(row["currentPermissions"]);
978 taskItem.BaseMask = Convert.ToUInt32(row["basePermissions"]); 978 taskItem.BasePermissions = Convert.ToUInt32(row["basePermissions"]);
979 taskItem.EveryoneMask = Convert.ToUInt32(row["everyonePermissions"]); 979 taskItem.EveryonePermissions = Convert.ToUInt32(row["everyonePermissions"]);
980 taskItem.GroupMask = Convert.ToUInt32(row["groupPermissions"]); 980 taskItem.GroupPermissions = Convert.ToUInt32(row["groupPermissions"]);
981// taskItem.Flags = Convert.ToUInt32(row["flags"]); 981// taskItem.Flags = Convert.ToUInt32(row["flags"]);
982 982
983 return taskItem; 983 return taskItem;
@@ -1170,11 +1170,11 @@ namespace OpenSim.Data.MSSQL
1170 row["ownerID"] = taskItem.OwnerID; 1170 row["ownerID"] = taskItem.OwnerID;
1171 row["lastOwnerID"] = taskItem.LastOwnerID; 1171 row["lastOwnerID"] = taskItem.LastOwnerID;
1172 row["groupID"] = taskItem.GroupID; 1172 row["groupID"] = taskItem.GroupID;
1173 row["nextPermissions"] = taskItem.NextOwnerMask; 1173 row["nextPermissions"] = taskItem.NextPermissions;
1174 row["currentPermissions"] = taskItem.OwnerMask; 1174 row["currentPermissions"] = taskItem.CurrentPermissions;
1175 row["basePermissions"] = taskItem.BaseMask; 1175 row["basePermissions"] = taskItem.BasePermissions;
1176 row["everyonePermissions"] = taskItem.EveryoneMask; 1176 row["everyonePermissions"] = taskItem.EveryonePermissions;
1177 row["groupPermissions"] = taskItem.GroupMask; 1177 row["groupPermissions"] = taskItem.GroupPermissions;
1178// row["flags"] = taskItem.Flags; 1178// row["flags"] = taskItem.Flags;
1179 } 1179 }
1180 1180