diff options
Diffstat (limited to 'OpenSim/Data/MySQL/MySQLSimulationData.cs')
-rw-r--r-- | OpenSim/Data/MySQL/MySQLSimulationData.cs | 7 |
1 files changed, 4 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); |