aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Storage
diff options
context:
space:
mode:
authorSean Dague2007-08-25 13:06:09 +0000
committerSean Dague2007-08-25 13:06:09 +0000
commitc35e3b1f3531e9149cad0c9ad13bf3f4954afc90 (patch)
tree79bd0fa8715e666746e63129f9e07ed038673099 /OpenSim/Region/Storage
parentSet some default values for "create user" in case anyone just pressing return... (diff)
downloadopensim-SC_OLD-c35e3b1f3531e9149cad0c9ad13bf3f4954afc90.zip
opensim-SC_OLD-c35e3b1f3531e9149cad0c9ad13bf3f4954afc90.tar.gz
opensim-SC_OLD-c35e3b1f3531e9149cad0c9ad13bf3f4954afc90.tar.bz2
opensim-SC_OLD-c35e3b1f3531e9149cad0c9ad13bf3f4954afc90.tar.xz
updated to include saving of object flags.
People will need to blow away their databases after this point.
Diffstat (limited to 'OpenSim/Region/Storage')
-rw-r--r--OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs3
1 files changed, 3 insertions, 0 deletions
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
275 createCol(prims, "SitName", typeof(System.String)); 275 createCol(prims, "SitName", typeof(System.String));
276 createCol(prims, "TouchName", typeof(System.String)); 276 createCol(prims, "TouchName", typeof(System.String));
277 // permissions 277 // permissions
278 createCol(prims, "ObjectFlags", typeof(System.Int32));
278 createCol(prims, "CreatorID", typeof(System.String)); 279 createCol(prims, "CreatorID", typeof(System.String));
279 createCol(prims, "OwnerID", typeof(System.String)); 280 createCol(prims, "OwnerID", typeof(System.String));
280 createCol(prims, "GroupID", typeof(System.String)); 281 createCol(prims, "GroupID", typeof(System.String));
@@ -379,6 +380,7 @@ namespace OpenSim.DataStore.MonoSqliteStorage
379 prim.SitName = (String)row["SitName"]; 380 prim.SitName = (String)row["SitName"];
380 prim.TouchName = (String)row["TouchName"]; 381 prim.TouchName = (String)row["TouchName"];
381 // permissions 382 // permissions
383 prim.ObjectFlags = Convert.ToUInt32(row["ObjectFlags"]);
382 prim.CreatorID = new LLUUID((String)row["CreatorID"]); 384 prim.CreatorID = new LLUUID((String)row["CreatorID"]);
383 prim.OwnerID = new LLUUID((String)row["OwnerID"]); 385 prim.OwnerID = new LLUUID((String)row["OwnerID"]);
384 prim.GroupID = new LLUUID((String)row["GroupID"]); 386 prim.GroupID = new LLUUID((String)row["GroupID"]);
@@ -439,6 +441,7 @@ namespace OpenSim.DataStore.MonoSqliteStorage
439 row["SitName"] = prim.SitName; 441 row["SitName"] = prim.SitName;
440 row["TouchName"] = prim.TouchName; 442 row["TouchName"] = prim.TouchName;
441 // permissions 443 // permissions
444 row["ObjectFlags"] = prim.ObjectFlags;
442 row["CreatorID"] = prim.CreatorID; 445 row["CreatorID"] = prim.CreatorID;
443 row["OwnerID"] = prim.OwnerID; 446 row["OwnerID"] = prim.OwnerID;
444 row["GroupID"] = prim.GroupID; 447 row["GroupID"] = prim.GroupID;