aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/MySQL
diff options
context:
space:
mode:
authorMelanie2012-01-22 23:20:10 +0000
committerMelanie2012-01-22 23:20:10 +0000
commit7c404375c7eeecc09228d49cca4d0fe162712a8c (patch)
tree625ffbd6d4debda155593224c37ca0447b36c01b /OpenSim/Data/MySQL
parentFinish connecting Telehub to database (diff)
downloadopensim-SC-7c404375c7eeecc09228d49cca4d0fe162712a8c.zip
opensim-SC-7c404375c7eeecc09228d49cca4d0fe162712a8c.tar.gz
opensim-SC-7c404375c7eeecc09228d49cca4d0fe162712a8c.tar.bz2
opensim-SC-7c404375c7eeecc09228d49cca4d0fe162712a8c.tar.xz
Fix up some parameter naming
Diffstat (limited to 'OpenSim/Data/MySQL')
-rw-r--r--OpenSim/Data/MySQL/MySQLSimulationData.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Data/MySQL/MySQLSimulationData.cs b/OpenSim/Data/MySQL/MySQLSimulationData.cs
index a48b91b..b94f6ac 100644
--- a/OpenSim/Data/MySQL/MySQLSimulationData.cs
+++ b/OpenSim/Data/MySQL/MySQLSimulationData.cs
@@ -1912,11 +1912,11 @@ namespace OpenSim.Data.MySQL
1912 1912
1913 cmd.Parameters.Clear(); 1913 cmd.Parameters.Clear();
1914 1914
1915 cmd.CommandText = "insert into spawn_points (RegionID, PointX, PointY, PointZ) values ( ?EstateID, ?PointX, ?PointY,?PointZ)"; 1915 cmd.CommandText = "insert into spawn_points (RegionID, PointX, PointY, PointZ) values ( ?RegionID, ?PointX, ?PointY,?PointZ)";
1916 1916
1917 foreach (Vector3 p in rs.SpawnPoints()) 1917 foreach (Vector3 p in rs.SpawnPoints())
1918 { 1918 {
1919 cmd.Parameters.AddWithValue("?EstateID", rs.RegionUUID.ToString()); 1919 cmd.Parameters.AddWithValue("?RegionID", rs.RegionUUID.ToString());
1920 cmd.Parameters.AddWithValue("?PointX", p.X); 1920 cmd.Parameters.AddWithValue("?PointX", p.X);
1921 cmd.Parameters.AddWithValue("?PointY", p.Y); 1921 cmd.Parameters.AddWithValue("?PointY", p.Y);
1922 cmd.Parameters.AddWithValue("?PointZ", p.Z); 1922 cmd.Parameters.AddWithValue("?PointZ", p.Z);