* Make fix to MSSQLRegionData.cs in LoadLandObjects as recommended by Garrett Hussey in Re: [Opensim-dev] MSSQL runtime error in latest build..

* Thanks!
0.6.0-stable
Justin Clarke Casey 2008-09-12 20:53:21 +00:00
parent 62d1eba3b2
commit f1e4001c90
1 changed files with 1 additions and 1 deletions

View File

@ -558,7 +558,7 @@ namespace OpenSim.Data.MSSQL
sql = "select * from landaccesslist where LandUUID = @LandUUID";
using (AutoClosingSqlCommand cmdAccessList = _Database.Query(sql))
{
cmdAccessList.Parameters.AddWithValue("@LandUUID", landData.GlobalID);
cmdAccessList.Parameters.AddWithValue("@LandUUID", landData.GlobalID.ToString());
using (SqlDataReader readerAccessList = cmdAccessList.ExecuteReader())
{
while (readerAccessList.Read())