aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/SQLite
diff options
context:
space:
mode:
authorCharles Krinke2008-06-26 02:51:59 +0000
committerCharles Krinke2008-06-26 02:51:59 +0000
commit1c6bf4fe774b5f04e9616dc46b11f54fdf6ab41e (patch)
tree29d39db66106c6f7e01d96576331e7c109b480fc /OpenSim/Data/SQLite
parentMantis#1594. Thank you, Melanie for a patch that: (diff)
downloadopensim-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/SQLite')
-rw-r--r--OpenSim/Data/SQLite/SQLiteRegionData.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Data/SQLite/SQLiteRegionData.cs b/OpenSim/Data/SQLite/SQLiteRegionData.cs
index 8212691..eb6f253 100644
--- a/OpenSim/Data/SQLite/SQLiteRegionData.cs
+++ b/OpenSim/Data/SQLite/SQLiteRegionData.cs
@@ -749,6 +749,7 @@ namespace OpenSim.Data.SQLite
749 createCol(items, "basePermissions", typeof (UInt32)); 749 createCol(items, "basePermissions", typeof (UInt32));
750 createCol(items, "everyonePermissions", typeof (UInt32)); 750 createCol(items, "everyonePermissions", typeof (UInt32));
751 createCol(items, "groupPermissions", typeof (UInt32)); 751 createCol(items, "groupPermissions", typeof (UInt32));
752 createCol(items, "flags", typeof (UInt32));
752 753
753 items.PrimaryKey = new DataColumn[] { items.Columns["itemID"] }; 754 items.PrimaryKey = new DataColumn[] { items.Columns["itemID"] };
754 755
@@ -965,6 +966,7 @@ namespace OpenSim.Data.SQLite
965 taskItem.BaseMask = Convert.ToUInt32(row["basePermissions"]); 966 taskItem.BaseMask = Convert.ToUInt32(row["basePermissions"]);
966 taskItem.EveryoneMask = Convert.ToUInt32(row["everyonePermissions"]); 967 taskItem.EveryoneMask = Convert.ToUInt32(row["everyonePermissions"]);
967 taskItem.GroupMask = Convert.ToUInt32(row["groupPermissions"]); 968 taskItem.GroupMask = Convert.ToUInt32(row["groupPermissions"]);
969 taskItem.Flags = Convert.ToUInt32(row["flags"]);
968 970
969 return taskItem; 971 return taskItem;
970 } 972 }
@@ -1233,6 +1235,7 @@ namespace OpenSim.Data.SQLite
1233 row["basePermissions"] = taskItem.BaseMask; 1235 row["basePermissions"] = taskItem.BaseMask;
1234 row["everyonePermissions"] = taskItem.EveryoneMask; 1236 row["everyonePermissions"] = taskItem.EveryoneMask;
1235 row["groupPermissions"] = taskItem.GroupMask; 1237 row["groupPermissions"] = taskItem.GroupMask;
1238 row["flags"] = taskItem.Flags;
1236 } 1239 }
1237 1240
1238 private static void fillLandRow(DataRow row, LandData land, LLUUID regionUUID) 1241 private static void fillLandRow(DataRow row, LandData land, LLUUID regionUUID)