diff options
Diffstat (limited to 'OpenSim/Data/SQLite/SQLiteSimulationData.cs')
-rw-r--r-- | OpenSim/Data/SQLite/SQLiteSimulationData.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Data/SQLite/SQLiteSimulationData.cs b/OpenSim/Data/SQLite/SQLiteSimulationData.cs index c1c7b7e..5cfc202 100644 --- a/OpenSim/Data/SQLite/SQLiteSimulationData.cs +++ b/OpenSim/Data/SQLite/SQLiteSimulationData.cs | |||
@@ -1216,6 +1216,7 @@ namespace OpenSim.Data.SQLite | |||
1216 | createCol(prims, "OwnerID", typeof(String)); | 1216 | createCol(prims, "OwnerID", typeof(String)); |
1217 | createCol(prims, "GroupID", typeof(String)); | 1217 | createCol(prims, "GroupID", typeof(String)); |
1218 | createCol(prims, "LastOwnerID", typeof(String)); | 1218 | createCol(prims, "LastOwnerID", typeof(String)); |
1219 | createCol(prims, "RezzerID", typeof(String)); | ||
1219 | createCol(prims, "OwnerMask", typeof(Int32)); | 1220 | createCol(prims, "OwnerMask", typeof(Int32)); |
1220 | createCol(prims, "NextOwnerMask", typeof(Int32)); | 1221 | createCol(prims, "NextOwnerMask", typeof(Int32)); |
1221 | createCol(prims, "GroupMask", typeof(Int32)); | 1222 | createCol(prims, "GroupMask", typeof(Int32)); |
@@ -1679,6 +1680,7 @@ namespace OpenSim.Data.SQLite | |||
1679 | prim.OwnerID = new UUID((String)row["OwnerID"]); | 1680 | prim.OwnerID = new UUID((String)row["OwnerID"]); |
1680 | prim.GroupID = new UUID((String)row["GroupID"]); | 1681 | prim.GroupID = new UUID((String)row["GroupID"]); |
1681 | prim.LastOwnerID = new UUID((String)row["LastOwnerID"]); | 1682 | prim.LastOwnerID = new UUID((String)row["LastOwnerID"]); |
1683 | prim.RezzerID = row["RezzerID"] == DBNull.Value ? UUID.Zero : new UUID((String)row["RezzerID"]); | ||
1682 | prim.OwnerMask = Convert.ToUInt32(row["OwnerMask"]); | 1684 | prim.OwnerMask = Convert.ToUInt32(row["OwnerMask"]); |
1683 | prim.NextOwnerMask = Convert.ToUInt32(row["NextOwnerMask"]); | 1685 | prim.NextOwnerMask = Convert.ToUInt32(row["NextOwnerMask"]); |
1684 | prim.GroupMask = Convert.ToUInt32(row["GroupMask"]); | 1686 | prim.GroupMask = Convert.ToUInt32(row["GroupMask"]); |
@@ -2125,6 +2127,7 @@ namespace OpenSim.Data.SQLite | |||
2125 | row["OwnerID"] = prim.OwnerID.ToString(); | 2127 | row["OwnerID"] = prim.OwnerID.ToString(); |
2126 | row["GroupID"] = prim.GroupID.ToString(); | 2128 | row["GroupID"] = prim.GroupID.ToString(); |
2127 | row["LastOwnerID"] = prim.LastOwnerID.ToString(); | 2129 | row["LastOwnerID"] = prim.LastOwnerID.ToString(); |
2130 | row["RezzerID"] = prim.RezzerID.ToString(); | ||
2128 | row["OwnerMask"] = prim.OwnerMask; | 2131 | row["OwnerMask"] = prim.OwnerMask; |
2129 | row["NextOwnerMask"] = prim.NextOwnerMask; | 2132 | row["NextOwnerMask"] = prim.NextOwnerMask; |
2130 | row["GroupMask"] = prim.GroupMask; | 2133 | row["GroupMask"] = prim.GroupMask; |