diff options
author | Snoopy Pfeffer | 2012-02-04 00:39:58 +0100 |
---|---|---|
committer | Snoopy Pfeffer | 2012-02-04 00:39:58 +0100 |
commit | bd9d7484f0862da631a1e141e82021ca2108096e (patch) | |
tree | 38317af4db4af8ca85d7d81d5a7d1aec2c1039a8 /OpenSim/Data/MySQL | |
parent | Changed save oar and save iar parameter -p|--profile to -h|--home, including ... (diff) | |
parent | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim (diff) | |
download | opensim-SC_OLD-bd9d7484f0862da631a1e141e82021ca2108096e.zip opensim-SC_OLD-bd9d7484f0862da631a1e141e82021ca2108096e.tar.gz opensim-SC_OLD-bd9d7484f0862da631a1e141e82021ca2108096e.tar.bz2 opensim-SC_OLD-bd9d7484f0862da631a1e141e82021ca2108096e.tar.xz |
Merge branch 'master' of ssh://snoopy@opensimulator.org/var/git/opensim
Diffstat (limited to 'OpenSim/Data/MySQL')
-rw-r--r-- | OpenSim/Data/MySQL/MySQLSimulationData.cs | 7 | ||||
-rw-r--r-- | OpenSim/Data/MySQL/Resources/RegionStore.migrations | 5 |
2 files changed, 9 insertions, 3 deletions
diff --git a/OpenSim/Data/MySQL/MySQLSimulationData.cs b/OpenSim/Data/MySQL/MySQLSimulationData.cs index 3275146..7c995ad 100644 --- a/OpenSim/Data/MySQL/MySQLSimulationData.cs +++ b/OpenSim/Data/MySQL/MySQLSimulationData.cs | |||
@@ -994,7 +994,7 @@ namespace OpenSim.Data.MySQL | |||
994 | "elevation_2_sw, water_height, " + | 994 | "elevation_2_sw, water_height, " + |
995 | "terrain_raise_limit, terrain_lower_limit, " + | 995 | "terrain_raise_limit, terrain_lower_limit, " + |
996 | "use_estate_sun, fixed_sun, sun_position, " + | 996 | "use_estate_sun, fixed_sun, sun_position, " + |
997 | "covenant, Sandbox, sunvectorx, sunvectory, " + | 997 | "covenant, covenant_datetime, Sandbox, sunvectorx, sunvectory, " + |
998 | "sunvectorz, loaded_creation_datetime, " + | 998 | "sunvectorz, loaded_creation_datetime, " + |
999 | "loaded_creation_id, map_tile_ID, " + | 999 | "loaded_creation_id, map_tile_ID, " + |
1000 | "TelehubObject, parcel_tile_ID) " + | 1000 | "TelehubObject, parcel_tile_ID) " + |
@@ -1010,7 +1010,7 @@ namespace OpenSim.Data.MySQL | |||
1010 | "?Elevation2SE, ?Elevation1SW, ?Elevation2SW, " + | 1010 | "?Elevation2SE, ?Elevation1SW, ?Elevation2SW, " + |
1011 | "?WaterHeight, ?TerrainRaiseLimit, " + | 1011 | "?WaterHeight, ?TerrainRaiseLimit, " + |
1012 | "?TerrainLowerLimit, ?UseEstateSun, ?FixedSun, " + | 1012 | "?TerrainLowerLimit, ?UseEstateSun, ?FixedSun, " + |
1013 | "?SunPosition, ?Covenant, ?Sandbox, " + | 1013 | "?SunPosition, ?Covenant, ?CovenantChangedDateTime, ?Sandbox, " + |
1014 | "?SunVectorX, ?SunVectorY, ?SunVectorZ, " + | 1014 | "?SunVectorX, ?SunVectorY, ?SunVectorZ, " + |
1015 | "?LoadedCreationDateTime, ?LoadedCreationID, " + | 1015 | "?LoadedCreationDateTime, ?LoadedCreationID, " + |
1016 | "?TerrainImageID, ?TelehubObject, ?ParcelImageID) "; | 1016 | "?TerrainImageID, ?TelehubObject, ?ParcelImageID) "; |
@@ -1292,7 +1292,7 @@ namespace OpenSim.Data.MySQL | |||
1292 | newSettings.FixedSun = Convert.ToBoolean(row["fixed_sun"]); | 1292 | newSettings.FixedSun = Convert.ToBoolean(row["fixed_sun"]); |
1293 | newSettings.SunPosition = Convert.ToDouble(row["sun_position"]); | 1293 | newSettings.SunPosition = Convert.ToDouble(row["sun_position"]); |
1294 | newSettings.Covenant = DBGuid.FromDB(row["covenant"]); | 1294 | newSettings.Covenant = DBGuid.FromDB(row["covenant"]); |
1295 | 1295 | newSettings.CovenantChangedDateTime = Convert.ToInt32(row["covenant_datetime"]); | |
1296 | newSettings.LoadedCreationDateTime = Convert.ToInt32(row["loaded_creation_datetime"]); | 1296 | newSettings.LoadedCreationDateTime = Convert.ToInt32(row["loaded_creation_datetime"]); |
1297 | 1297 | ||
1298 | if (row["loaded_creation_id"] is DBNull) | 1298 | if (row["loaded_creation_id"] is DBNull) |
@@ -1630,6 +1630,7 @@ namespace OpenSim.Data.MySQL | |||
1630 | cmd.Parameters.AddWithValue("FixedSun", settings.FixedSun); | 1630 | cmd.Parameters.AddWithValue("FixedSun", settings.FixedSun); |
1631 | cmd.Parameters.AddWithValue("SunPosition", settings.SunPosition); | 1631 | cmd.Parameters.AddWithValue("SunPosition", settings.SunPosition); |
1632 | cmd.Parameters.AddWithValue("Covenant", settings.Covenant.ToString()); | 1632 | cmd.Parameters.AddWithValue("Covenant", settings.Covenant.ToString()); |
1633 | cmd.Parameters.AddWithValue("CovenantChangedDateTime", settings.CovenantChangedDateTime); | ||
1633 | cmd.Parameters.AddWithValue("LoadedCreationDateTime", settings.LoadedCreationDateTime); | 1634 | cmd.Parameters.AddWithValue("LoadedCreationDateTime", settings.LoadedCreationDateTime); |
1634 | cmd.Parameters.AddWithValue("LoadedCreationID", settings.LoadedCreationID); | 1635 | cmd.Parameters.AddWithValue("LoadedCreationID", settings.LoadedCreationID); |
1635 | cmd.Parameters.AddWithValue("TerrainImageID", settings.TerrainImageID); | 1636 | cmd.Parameters.AddWithValue("TerrainImageID", settings.TerrainImageID); |
diff --git a/OpenSim/Data/MySQL/Resources/RegionStore.migrations b/OpenSim/Data/MySQL/Resources/RegionStore.migrations index 642e3b7..9891f4b 100644 --- a/OpenSim/Data/MySQL/Resources/RegionStore.migrations +++ b/OpenSim/Data/MySQL/Resources/RegionStore.migrations | |||
@@ -869,3 +869,8 @@ BEGIN; | |||
869 | ALTER TABLE `landaccesslist` ADD COLUMN `Expires` INTEGER NOT NULL DEFAULT 0; | 869 | ALTER TABLE `landaccesslist` ADD COLUMN `Expires` INTEGER NOT NULL DEFAULT 0; |
870 | COMMIT; | 870 | COMMIT; |
871 | 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; | ||