diff options
author | Charles Krinke | 2008-06-26 02:51:59 +0000 |
---|---|---|
committer | Charles Krinke | 2008-06-26 02:51:59 +0000 |
commit | 1c6bf4fe774b5f04e9616dc46b11f54fdf6ab41e (patch) | |
tree | 29d39db66106c6f7e01d96576331e7c109b480fc /OpenSim/Data/MySQL/MySQLDataStore.cs | |
parent | Mantis#1594. Thank you, Melanie for a patch that: (diff) | |
download | opensim-SC_OLD-1c6bf4fe774b5f04e9616dc46b11f54fdf6ab41e.zip opensim-SC_OLD-1c6bf4fe774b5f04e9616dc46b11f54fdf6ab41e.tar.gz opensim-SC_OLD-1c6bf4fe774b5f04e9616dc46b11f54fdf6ab41e.tar.bz2 opensim-SC_OLD-1c6bf4fe774b5f04e9616dc46b11f54fdf6ab41e.tar.xz |
Mantis#1595. Thank you, Melanie for a patch that:
Adds pipes for the prim item flags field
Diffstat (limited to 'OpenSim/Data/MySQL/MySQLDataStore.cs')
-rw-r--r-- | OpenSim/Data/MySQL/MySQLDataStore.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Data/MySQL/MySQLDataStore.cs b/OpenSim/Data/MySQL/MySQLDataStore.cs index def875f..2b4702b 100644 --- a/OpenSim/Data/MySQL/MySQLDataStore.cs +++ b/OpenSim/Data/MySQL/MySQLDataStore.cs | |||
@@ -1010,6 +1010,7 @@ namespace OpenSim.Data.MySQL | |||
1010 | createCol(items, "basePermissions", typeof (Int32)); | 1010 | createCol(items, "basePermissions", typeof (Int32)); |
1011 | createCol(items, "everyonePermissions", typeof (Int32)); | 1011 | createCol(items, "everyonePermissions", typeof (Int32)); |
1012 | createCol(items, "groupPermissions", typeof (Int32)); | 1012 | createCol(items, "groupPermissions", typeof (Int32)); |
1013 | createCol(items, "flags", typeof (Int32)); | ||
1013 | 1014 | ||
1014 | items.PrimaryKey = new DataColumn[] {items.Columns["itemID"]}; | 1015 | items.PrimaryKey = new DataColumn[] {items.Columns["itemID"]}; |
1015 | 1016 | ||
@@ -1147,6 +1148,7 @@ namespace OpenSim.Data.MySQL | |||
1147 | taskItem.BaseMask = Convert.ToUInt32(row["basePermissions"]); | 1148 | taskItem.BaseMask = Convert.ToUInt32(row["basePermissions"]); |
1148 | taskItem.EveryoneMask = Convert.ToUInt32(row["everyonePermissions"]); | 1149 | taskItem.EveryoneMask = Convert.ToUInt32(row["everyonePermissions"]); |
1149 | taskItem.GroupMask = Convert.ToUInt32(row["groupPermissions"]); | 1150 | taskItem.GroupMask = Convert.ToUInt32(row["groupPermissions"]); |
1151 | taskItem.Flags = Convert.ToUInt32(row["flags"]); | ||
1150 | 1152 | ||
1151 | return taskItem; | 1153 | return taskItem; |
1152 | } | 1154 | } |
@@ -1338,6 +1340,7 @@ namespace OpenSim.Data.MySQL | |||
1338 | row["basePermissions"] = taskItem.BaseMask; | 1340 | row["basePermissions"] = taskItem.BaseMask; |
1339 | row["everyonePermissions"] = taskItem.EveryoneMask; | 1341 | row["everyonePermissions"] = taskItem.EveryoneMask; |
1340 | row["groupPermissions"] = taskItem.GroupMask; | 1342 | row["groupPermissions"] = taskItem.GroupMask; |
1343 | row["flags"] = taskItem.Flags; | ||
1341 | } | 1344 | } |
1342 | 1345 | ||
1343 | private static void fillLandRow(DataRow row, LandData land, LLUUID regionUUID) | 1346 | private static void fillLandRow(DataRow row, LandData land, LLUUID regionUUID) |