diff options
author | Mandarinka Tasty | 2016-12-04 07:10:13 +0100 |
---|---|---|
committer | UbitUmarov | 2016-12-04 17:18:56 +0000 |
commit | 7c566dca5a41cd3a9cb0336b00bdf7d63e24d2e9 (patch) | |
tree | b065a6dc4641b3d0ff1b805fdcb76bd4a2248518 /OpenSim/Data/SQLite | |
parent | a few changes to new GetDisplaynames and friends (diff) | |
download | opensim-SC-7c566dca5a41cd3a9cb0336b00bdf7d63e24d2e9.zip opensim-SC-7c566dca5a41cd3a9cb0336b00bdf7d63e24d2e9.tar.gz opensim-SC-7c566dca5a41cd3a9cb0336b00bdf7d63e24d2e9.tar.bz2 opensim-SC-7c566dca5a41cd3a9cb0336b00bdf7d63e24d2e9.tar.xz |
The new Constant: integer OBJECT_REZZER_KEY = 32;
Signed-off-by: Mandarinka Tasty <mandarinka.tasty@gmail.com>
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Data/SQLite/Resources/RegionStore.migrations | 8 | ||||
-rw-r--r-- | OpenSim/Data/SQLite/SQLiteSimulationData.cs | 3 |
2 files changed, 11 insertions, 0 deletions
diff --git a/OpenSim/Data/SQLite/Resources/RegionStore.migrations b/OpenSim/Data/SQLite/Resources/RegionStore.migrations index 64624db..eef14d6 100644 --- a/OpenSim/Data/SQLite/Resources/RegionStore.migrations +++ b/OpenSim/Data/SQLite/Resources/RegionStore.migrations | |||
@@ -363,3 +363,11 @@ CREATE TABLE IF NOT EXISTS bakedterrain( | |||
363 | Heightfield blob); | 363 | Heightfield blob); |
364 | 364 | ||
365 | COMMIT; | 365 | COMMIT; |
366 | |||
367 | :VERSION 35 #----- Add RezzerID field in table prims | ||
368 | |||
369 | BEGIN; | ||
370 | |||
371 | ALTER TABLE `prims` ADD COLUMN `RezzerID` char(36) DEFAULT NULL; | ||
372 | |||
373 | COMMIT; | ||
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; |