aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/MySQL
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/MySQL
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/MySQL')
-rw-r--r--OpenSim/Data/MySQL/MySQLDataStore.cs20
1 files changed, 10 insertions, 10 deletions
diff --git a/OpenSim/Data/MySQL/MySQLDataStore.cs b/OpenSim/Data/MySQL/MySQLDataStore.cs
index 2ace4b1..7482df3 100644
--- a/OpenSim/Data/MySQL/MySQLDataStore.cs
+++ b/OpenSim/Data/MySQL/MySQLDataStore.cs
@@ -1258,11 +1258,11 @@ namespace OpenSim.Data.MySQL
1258 taskItem.LastOwnerID = new LLUUID((String)row["lastOwnerID"]); 1258 taskItem.LastOwnerID = new LLUUID((String)row["lastOwnerID"]);
1259 taskItem.GroupID = new LLUUID((String)row["groupID"]); 1259 taskItem.GroupID = new LLUUID((String)row["groupID"]);
1260 1260
1261 taskItem.NextOwnerMask = Convert.ToUInt32(row["nextPermissions"]); 1261 taskItem.NextPermissions = Convert.ToUInt32(row["nextPermissions"]);
1262 taskItem.OwnerMask = Convert.ToUInt32(row["currentPermissions"]); 1262 taskItem.CurrentPermissions = Convert.ToUInt32(row["currentPermissions"]);
1263 taskItem.BaseMask = Convert.ToUInt32(row["basePermissions"]); 1263 taskItem.BasePermissions = Convert.ToUInt32(row["basePermissions"]);
1264 taskItem.EveryoneMask = Convert.ToUInt32(row["everyonePermissions"]); 1264 taskItem.EveryonePermissions = Convert.ToUInt32(row["everyonePermissions"]);
1265 taskItem.GroupMask = Convert.ToUInt32(row["groupPermissions"]); 1265 taskItem.GroupPermissions = Convert.ToUInt32(row["groupPermissions"]);
1266 taskItem.Flags = Convert.ToUInt32(row["flags"]); 1266 taskItem.Flags = Convert.ToUInt32(row["flags"]);
1267 1267
1268 return taskItem; 1268 return taskItem;
@@ -1519,11 +1519,11 @@ namespace OpenSim.Data.MySQL
1519 row["ownerID"] = taskItem.OwnerID; 1519 row["ownerID"] = taskItem.OwnerID;
1520 row["lastOwnerID"] = taskItem.LastOwnerID; 1520 row["lastOwnerID"] = taskItem.LastOwnerID;
1521 row["groupID"] = taskItem.GroupID; 1521 row["groupID"] = taskItem.GroupID;
1522 row["nextPermissions"] = taskItem.NextOwnerMask; 1522 row["nextPermissions"] = taskItem.NextPermissions;
1523 row["currentPermissions"] = taskItem.OwnerMask; 1523 row["currentPermissions"] = taskItem.CurrentPermissions;
1524 row["basePermissions"] = taskItem.BaseMask; 1524 row["basePermissions"] = taskItem.BasePermissions;
1525 row["everyonePermissions"] = taskItem.EveryoneMask; 1525 row["everyonePermissions"] = taskItem.EveryonePermissions;
1526 row["groupPermissions"] = taskItem.GroupMask; 1526 row["groupPermissions"] = taskItem.GroupPermissions;
1527 row["flags"] = taskItem.Flags; 1527 row["flags"] = taskItem.Flags;
1528 } 1528 }
1529 1529