From c35e3b1f3531e9149cad0c9ad13bf3f4954afc90 Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Sat, 25 Aug 2007 13:06:09 +0000 Subject: updated to include saving of object flags. People will need to blow away their databases after this point. --- .../Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'OpenSim/Region/Storage') diff --git a/OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs b/OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs index d711e4b..c1168ec 100644 --- a/OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs +++ b/OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs @@ -275,6 +275,7 @@ namespace OpenSim.DataStore.MonoSqliteStorage createCol(prims, "SitName", typeof(System.String)); createCol(prims, "TouchName", typeof(System.String)); // permissions + createCol(prims, "ObjectFlags", typeof(System.Int32)); createCol(prims, "CreatorID", typeof(System.String)); createCol(prims, "OwnerID", typeof(System.String)); createCol(prims, "GroupID", typeof(System.String)); @@ -379,6 +380,7 @@ namespace OpenSim.DataStore.MonoSqliteStorage prim.SitName = (String)row["SitName"]; prim.TouchName = (String)row["TouchName"]; // permissions + prim.ObjectFlags = Convert.ToUInt32(row["ObjectFlags"]); prim.CreatorID = new LLUUID((String)row["CreatorID"]); prim.OwnerID = new LLUUID((String)row["OwnerID"]); prim.GroupID = new LLUUID((String)row["GroupID"]); @@ -439,6 +441,7 @@ namespace OpenSim.DataStore.MonoSqliteStorage row["SitName"] = prim.SitName; row["TouchName"] = prim.TouchName; // permissions + row["ObjectFlags"] = prim.ObjectFlags; row["CreatorID"] = prim.CreatorID; row["OwnerID"] = prim.OwnerID; row["GroupID"] = prim.GroupID; -- cgit v1.1