aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/MySQL/MySQLSimulationData.cs
diff options
context:
space:
mode:
authorBlueWall2012-01-22 14:51:15 -0500
committerBlueWall2012-01-22 14:51:15 -0500
commit74c1ed77a44c96aed5c0b2c0eb828e6383792bfc (patch)
tree32efdd47564b99c415c1cf0712447e9c56c52e2c /OpenSim/Data/MySQL/MySQLSimulationData.cs
parentHooking up new telehub data to the database (diff)
downloadopensim-SC_OLD-74c1ed77a44c96aed5c0b2c0eb828e6383792bfc.zip
opensim-SC_OLD-74c1ed77a44c96aed5c0b2c0eb828e6383792bfc.tar.gz
opensim-SC_OLD-74c1ed77a44c96aed5c0b2c0eb828e6383792bfc.tar.bz2
opensim-SC_OLD-74c1ed77a44c96aed5c0b2c0eb828e6383792bfc.tar.xz
Finish connecting Telehub to database
Diffstat (limited to '')
-rw-r--r--OpenSim/Data/MySQL/MySQLSimulationData.cs22
1 files changed, 19 insertions, 3 deletions
diff --git a/OpenSim/Data/MySQL/MySQLSimulationData.cs b/OpenSim/Data/MySQL/MySQLSimulationData.cs
index a2d5435..a48b91b 100644
--- a/OpenSim/Data/MySQL/MySQLSimulationData.cs
+++ b/OpenSim/Data/MySQL/MySQLSimulationData.cs
@@ -996,7 +996,11 @@ namespace OpenSim.Data.MySQL
996 "use_estate_sun, fixed_sun, sun_position, " + 996 "use_estate_sun, fixed_sun, sun_position, " +
997 "covenant, Sandbox, sunvectorx, sunvectory, " + 997 "covenant, Sandbox, sunvectorx, sunvectory, " +
998 "sunvectorz, loaded_creation_datetime, " + 998 "sunvectorz, loaded_creation_datetime, " +
999 "loaded_creation_id, map_tile_ID) values (?RegionUUID, ?BlockTerraform, " + 999 "loaded_creation_id, map_tile_ID, " +
1000 "TelehubEnabled, TelehubObject, TelehubName, " +
1001 "TelehubPosX, TelehubPosY, TelehubPosZ, " +
1002 "TelehubRotX, TelehubRotY, TelehubRotZ, TelehubRotW) " +
1003 "values (?RegionUUID, ?BlockTerraform, " +
1000 "?BlockFly, ?AllowDamage, ?RestrictPushing, " + 1004 "?BlockFly, ?AllowDamage, ?RestrictPushing, " +
1001 "?AllowLandResell, ?AllowLandJoinDivide, " + 1005 "?AllowLandResell, ?AllowLandJoinDivide, " +
1002 "?BlockShowInSearch, ?AgentLimit, ?ObjectBonus, " + 1006 "?BlockShowInSearch, ?AgentLimit, ?ObjectBonus, " +
@@ -1011,7 +1015,10 @@ namespace OpenSim.Data.MySQL
1011 "?SunPosition, ?Covenant, ?Sandbox, " + 1015 "?SunPosition, ?Covenant, ?Sandbox, " +
1012 "?SunVectorX, ?SunVectorY, ?SunVectorZ, " + 1016 "?SunVectorX, ?SunVectorY, ?SunVectorZ, " +
1013 "?LoadedCreationDateTime, ?LoadedCreationID, " + 1017 "?LoadedCreationDateTime, ?LoadedCreationID, " +
1014 "?TerrainImageID)"; 1018 "?TerrainImageID, " +
1019 "?TelehubEnabled, ?TelehubObject, ?TelehubName, " +
1020 "?TelehubPosX, ?TelehubPosY, ?TelehubPosZ, " +
1021 "?TelehubRotX, ?TelehubRotY, ?TelehubRotZ, ?TelehubRotW )";
1015 1022
1016 FillRegionSettingsCommand(cmd, rs); 1023 FillRegionSettingsCommand(cmd, rs);
1017 1024
@@ -1643,7 +1650,16 @@ namespace OpenSim.Data.MySQL
1643 cmd.Parameters.AddWithValue("LoadedCreationDateTime", settings.LoadedCreationDateTime); 1650 cmd.Parameters.AddWithValue("LoadedCreationDateTime", settings.LoadedCreationDateTime);
1644 cmd.Parameters.AddWithValue("LoadedCreationID", settings.LoadedCreationID); 1651 cmd.Parameters.AddWithValue("LoadedCreationID", settings.LoadedCreationID);
1645 cmd.Parameters.AddWithValue("TerrainImageID", settings.TerrainImageID); 1652 cmd.Parameters.AddWithValue("TerrainImageID", settings.TerrainImageID);
1646 1653 cmd.Parameters.AddWithValue("TelehubEnabled", settings.HasTelehub);
1654 cmd.Parameters.AddWithValue("TelehubObject", settings.TelehubObject);
1655 cmd.Parameters.AddWithValue("TelehubName", settings.TelehubName);
1656 cmd.Parameters.AddWithValue("TelehubPosX", settings.TelehubPos.X);
1657 cmd.Parameters.AddWithValue("TelehubPosY", settings.TelehubPos.Y);
1658 cmd.Parameters.AddWithValue("TelehubPosZ", settings.TelehubPos.Z);
1659 cmd.Parameters.AddWithValue("TelehubRotX", settings.TelehubRot.X);
1660 cmd.Parameters.AddWithValue("TelehubRotY", settings.TelehubRot.Y);
1661 cmd.Parameters.AddWithValue("TelehubRotZ", settings.TelehubRot.Z);
1662 cmd.Parameters.AddWithValue("TelehubRotW", settings.TelehubRot.W);
1647 } 1663 }
1648 1664
1649 /// <summary> 1665 /// <summary>