diff options
author | Melanie | 2012-02-04 11:48:20 +0000 |
---|---|---|
committer | Melanie | 2012-02-04 11:48:20 +0000 |
commit | ce5e900721cb0447f76bcb198faf5f7c31eeaf6e (patch) | |
tree | c906a2b8858f9c590e39e2a26f47017fd7b6b9c6 /OpenSim/Data/MySQL | |
parent | Merge branch 'master' into careminster (diff) | |
parent | Add default value to TelehubObject (diff) | |
download | opensim-SC_OLD-ce5e900721cb0447f76bcb198faf5f7c31eeaf6e.zip opensim-SC_OLD-ce5e900721cb0447f76bcb198faf5f7c31eeaf6e.tar.gz opensim-SC_OLD-ce5e900721cb0447f76bcb198faf5f7c31eeaf6e.tar.bz2 opensim-SC_OLD-ce5e900721cb0447f76bcb198faf5f7c31eeaf6e.tar.xz |
Merge branch 'master' into careminster
Conflicts:
OpenSim/Data/MySQL/Resources/RegionStore.migrations
OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
Diffstat (limited to 'OpenSim/Data/MySQL')
-rw-r--r-- | OpenSim/Data/MySQL/MySQLSimulationData.cs | 7 | ||||
-rw-r--r-- | OpenSim/Data/MySQL/Resources/RegionStore.migrations | 20 |
2 files changed, 24 insertions, 3 deletions
diff --git a/OpenSim/Data/MySQL/MySQLSimulationData.cs b/OpenSim/Data/MySQL/MySQLSimulationData.cs index 48ef447..04b91ef 100644 --- a/OpenSim/Data/MySQL/MySQLSimulationData.cs +++ b/OpenSim/Data/MySQL/MySQLSimulationData.cs | |||
@@ -1009,7 +1009,7 @@ namespace OpenSim.Data.MySQL | |||
1009 | "elevation_2_sw, water_height, " + | 1009 | "elevation_2_sw, water_height, " + |
1010 | "terrain_raise_limit, terrain_lower_limit, " + | 1010 | "terrain_raise_limit, terrain_lower_limit, " + |
1011 | "use_estate_sun, fixed_sun, sun_position, " + | 1011 | "use_estate_sun, fixed_sun, sun_position, " + |
1012 | "covenant, Sandbox, sunvectorx, sunvectory, " + | 1012 | "covenant, covenant_datetime, Sandbox, sunvectorx, sunvectory, " + |
1013 | "sunvectorz, loaded_creation_datetime, " + | 1013 | "sunvectorz, loaded_creation_datetime, " + |
1014 | "loaded_creation_id, map_tile_ID, block_search, casino, " + | 1014 | "loaded_creation_id, map_tile_ID, block_search, casino, " + |
1015 | "TelehubObject, parcel_tile_ID) " + | 1015 | "TelehubObject, parcel_tile_ID) " + |
@@ -1025,7 +1025,7 @@ namespace OpenSim.Data.MySQL | |||
1025 | "?Elevation2SE, ?Elevation1SW, ?Elevation2SW, " + | 1025 | "?Elevation2SE, ?Elevation1SW, ?Elevation2SW, " + |
1026 | "?WaterHeight, ?TerrainRaiseLimit, " + | 1026 | "?WaterHeight, ?TerrainRaiseLimit, " + |
1027 | "?TerrainLowerLimit, ?UseEstateSun, ?FixedSun, " + | 1027 | "?TerrainLowerLimit, ?UseEstateSun, ?FixedSun, " + |
1028 | "?SunPosition, ?Covenant, ?Sandbox, " + | 1028 | "?SunPosition, ?Covenant, ?CovenantChangedDateTime, ?Sandbox, " + |
1029 | "?SunVectorX, ?SunVectorY, ?SunVectorZ, " + | 1029 | "?SunVectorX, ?SunVectorY, ?SunVectorZ, " + |
1030 | "?LoadedCreationDateTime, ?LoadedCreationID, " + | 1030 | "?LoadedCreationDateTime, ?LoadedCreationID, " + |
1031 | "?TerrainImageID, ?block_search, ?casino, " + | 1031 | "?TerrainImageID, ?block_search, ?casino, " + |
@@ -1308,7 +1308,7 @@ namespace OpenSim.Data.MySQL | |||
1308 | newSettings.FixedSun = Convert.ToBoolean(row["fixed_sun"]); | 1308 | newSettings.FixedSun = Convert.ToBoolean(row["fixed_sun"]); |
1309 | newSettings.SunPosition = Convert.ToDouble(row["sun_position"]); | 1309 | newSettings.SunPosition = Convert.ToDouble(row["sun_position"]); |
1310 | newSettings.Covenant = DBGuid.FromDB(row["covenant"]); | 1310 | newSettings.Covenant = DBGuid.FromDB(row["covenant"]); |
1311 | 1311 | newSettings.CovenantChangedDateTime = Convert.ToInt32(row["covenant_datetime"]); | |
1312 | newSettings.LoadedCreationDateTime = Convert.ToInt32(row["loaded_creation_datetime"]); | 1312 | newSettings.LoadedCreationDateTime = Convert.ToInt32(row["loaded_creation_datetime"]); |
1313 | 1313 | ||
1314 | if (row["loaded_creation_id"] is DBNull) | 1314 | if (row["loaded_creation_id"] is DBNull) |
@@ -1653,6 +1653,7 @@ namespace OpenSim.Data.MySQL | |||
1653 | cmd.Parameters.AddWithValue("FixedSun", settings.FixedSun); | 1653 | cmd.Parameters.AddWithValue("FixedSun", settings.FixedSun); |
1654 | cmd.Parameters.AddWithValue("SunPosition", settings.SunPosition); | 1654 | cmd.Parameters.AddWithValue("SunPosition", settings.SunPosition); |
1655 | cmd.Parameters.AddWithValue("Covenant", settings.Covenant.ToString()); | 1655 | cmd.Parameters.AddWithValue("Covenant", settings.Covenant.ToString()); |
1656 | cmd.Parameters.AddWithValue("CovenantChangedDateTime", settings.CovenantChangedDateTime); | ||
1656 | cmd.Parameters.AddWithValue("LoadedCreationDateTime", settings.LoadedCreationDateTime); | 1657 | cmd.Parameters.AddWithValue("LoadedCreationDateTime", settings.LoadedCreationDateTime); |
1657 | cmd.Parameters.AddWithValue("LoadedCreationID", settings.LoadedCreationID); | 1658 | cmd.Parameters.AddWithValue("LoadedCreationID", settings.LoadedCreationID); |
1658 | cmd.Parameters.AddWithValue("TerrainImageID", settings.TerrainImageID); | 1659 | cmd.Parameters.AddWithValue("TerrainImageID", settings.TerrainImageID); |
diff --git a/OpenSim/Data/MySQL/Resources/RegionStore.migrations b/OpenSim/Data/MySQL/Resources/RegionStore.migrations index dae704c..ef99ef8 100644 --- a/OpenSim/Data/MySQL/Resources/RegionStore.migrations +++ b/OpenSim/Data/MySQL/Resources/RegionStore.migrations | |||
@@ -863,3 +863,23 @@ BEGIN; | |||
863 | ALTER TABLE `regionsettings` ADD COLUMN `parcel_tile_ID` char(36) NOT NULL DEFAULT '00000000-0000-0000-0000-000000000000'; | 863 | ALTER TABLE `regionsettings` ADD COLUMN `parcel_tile_ID` char(36) NOT NULL DEFAULT '00000000-0000-0000-0000-000000000000'; |
864 | COMMIT; | 864 | COMMIT; |
865 | 865 | ||
866 | :VERSION 41 #---------------- Timed bans/access | ||
867 | |||
868 | BEGIN; | ||
869 | ALTER TABLE `landaccesslist` ADD COLUMN `Expires` INTEGER NOT NULL DEFAULT 0; | ||
870 | COMMIT; | ||
871 | |||
872 | :VERSION 42 #--------------------- Region Covenant changed time | ||
873 | |||
874 | BEGIN; | ||
875 | ALTER TABLE regionsettings ADD COLUMN covenant_datetime int unsigned NOT NULL DEFAULT '0'; | ||
876 | COMMIT; | ||
877 | |||
878 | :VERSION 43 #--------------------- | ||
879 | |||
880 | BEGIN; | ||
881 | |||
882 | ALTER TABLE `regionsettings` MODIFY COLUMN `TelehubObject` VARCHAR(36) NOT NULL DEFAULT '00000000-0000-0000-0000-000000000000'; | ||
883 | |||
884 | COMMIT; | ||
885 | |||