Fix up some parameter naming

iar_mods
Melanie 2012-01-22 23:20:10 +00:00
parent 74c1ed77a4
commit 7c404375c7
1 changed files with 2 additions and 2 deletions

View File

@ -1912,11 +1912,11 @@ namespace OpenSim.Data.MySQL
cmd.Parameters.Clear(); cmd.Parameters.Clear();
cmd.CommandText = "insert into spawn_points (RegionID, PointX, PointY, PointZ) values ( ?EstateID, ?PointX, ?PointY,?PointZ)"; cmd.CommandText = "insert into spawn_points (RegionID, PointX, PointY, PointZ) values ( ?RegionID, ?PointX, ?PointY,?PointZ)";
foreach (Vector3 p in rs.SpawnPoints()) foreach (Vector3 p in rs.SpawnPoints())
{ {
cmd.Parameters.AddWithValue("?EstateID", rs.RegionUUID.ToString()); cmd.Parameters.AddWithValue("?RegionID", rs.RegionUUID.ToString());
cmd.Parameters.AddWithValue("?PointX", p.X); cmd.Parameters.AddWithValue("?PointX", p.X);
cmd.Parameters.AddWithValue("?PointY", p.Y); cmd.Parameters.AddWithValue("?PointY", p.Y);
cmd.Parameters.AddWithValue("?PointZ", p.Z); cmd.Parameters.AddWithValue("?PointZ", p.Z);