Merge branch 'master' of /home/opensim/var/repo/opensim into telehub
commit
8db64dc77f
|
@ -1912,11 +1912,11 @@ namespace OpenSim.Data.MySQL
|
|||
|
||||
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())
|
||||
{
|
||||
cmd.Parameters.AddWithValue("?EstateID", rs.RegionUUID.ToString());
|
||||
cmd.Parameters.AddWithValue("?RegionID", rs.RegionUUID.ToString());
|
||||
cmd.Parameters.AddWithValue("?PointX", p.X);
|
||||
cmd.Parameters.AddWithValue("?PointY", p.Y);
|
||||
cmd.Parameters.AddWithValue("?PointZ", p.Z);
|
||||
|
|
|
@ -69,3 +69,6 @@ Example
|
|||
|
||||
nunit-console2 OpenSim.Framework.Tests.dll (on linux)
|
||||
nunit-console OpenSim.Framework.Tests.dll (on windows)
|
||||
|
||||
See the file OpenSim/Data/Tests/Resources/TestDataConnections.ini
|
||||
for information to setup testing for data
|
||||
|
|
Loading…
Reference in New Issue