aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/MySQL
diff options
context:
space:
mode:
authorMelanie2012-02-04 11:48:20 +0000
committerMelanie2012-02-04 11:48:20 +0000
commitce5e900721cb0447f76bcb198faf5f7c31eeaf6e (patch)
treec906a2b8858f9c590e39e2a26f47017fd7b6b9c6 /OpenSim/Data/MySQL
parentMerge branch 'master' into careminster (diff)
parentAdd default value to TelehubObject (diff)
downloadopensim-SC-ce5e900721cb0447f76bcb198faf5f7c31eeaf6e.zip
opensim-SC-ce5e900721cb0447f76bcb198faf5f7c31eeaf6e.tar.gz
opensim-SC-ce5e900721cb0447f76bcb198faf5f7c31eeaf6e.tar.bz2
opensim-SC-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.cs7
-rw-r--r--OpenSim/Data/MySQL/Resources/RegionStore.migrations20
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;
863ALTER TABLE `regionsettings` ADD COLUMN `parcel_tile_ID` char(36) NOT NULL DEFAULT '00000000-0000-0000-0000-000000000000'; 863ALTER TABLE `regionsettings` ADD COLUMN `parcel_tile_ID` char(36) NOT NULL DEFAULT '00000000-0000-0000-0000-000000000000';
864COMMIT; 864COMMIT;
865 865
866:VERSION 41 #---------------- Timed bans/access
867
868BEGIN;
869ALTER TABLE `landaccesslist` ADD COLUMN `Expires` INTEGER NOT NULL DEFAULT 0;
870COMMIT;
871
872:VERSION 42 #--------------------- Region Covenant changed time
873
874BEGIN;
875ALTER TABLE regionsettings ADD COLUMN covenant_datetime int unsigned NOT NULL DEFAULT '0';
876COMMIT;
877
878:VERSION 43 #---------------------
879
880BEGIN;
881
882ALTER TABLE `regionsettings` MODIFY COLUMN `TelehubObject` VARCHAR(36) NOT NULL DEFAULT '00000000-0000-0000-0000-000000000000';
883
884COMMIT;
885