diff options
author | Justin Clarke Casey | 2008-09-12 20:53:21 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-09-12 20:53:21 +0000 |
commit | f1e4001c900e1c5c87b66ff4f823bb32ff29852d (patch) | |
tree | 5c5028c62eaf880ad21fb2778a66a1fd30917a5f /OpenSim/Data/MSSQL/MSSQLRegionData.cs | |
parent | * Patch http://opensimulator.org/mantis/view.php?id=2167 (diff) | |
download | opensim-SC-f1e4001c900e1c5c87b66ff4f823bb32ff29852d.zip opensim-SC-f1e4001c900e1c5c87b66ff4f823bb32ff29852d.tar.gz opensim-SC-f1e4001c900e1c5c87b66ff4f823bb32ff29852d.tar.bz2 opensim-SC-f1e4001c900e1c5c87b66ff4f823bb32ff29852d.tar.xz |
* Make fix to MSSQLRegionData.cs in LoadLandObjects as recommended by Garrett Hussey in Re: [Opensim-dev] MSSQL runtime error in latest build..
* Thanks!
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Data/MSSQL/MSSQLRegionData.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Data/MSSQL/MSSQLRegionData.cs b/OpenSim/Data/MSSQL/MSSQLRegionData.cs index ff9d860..b942f00 100644 --- a/OpenSim/Data/MSSQL/MSSQLRegionData.cs +++ b/OpenSim/Data/MSSQL/MSSQLRegionData.cs | |||
@@ -558,7 +558,7 @@ namespace OpenSim.Data.MSSQL | |||
558 | sql = "select * from landaccesslist where LandUUID = @LandUUID"; | 558 | sql = "select * from landaccesslist where LandUUID = @LandUUID"; |
559 | using (AutoClosingSqlCommand cmdAccessList = _Database.Query(sql)) | 559 | using (AutoClosingSqlCommand cmdAccessList = _Database.Query(sql)) |
560 | { | 560 | { |
561 | cmdAccessList.Parameters.AddWithValue("@LandUUID", landData.GlobalID); | 561 | cmdAccessList.Parameters.AddWithValue("@LandUUID", landData.GlobalID.ToString()); |
562 | using (SqlDataReader readerAccessList = cmdAccessList.ExecuteReader()) | 562 | using (SqlDataReader readerAccessList = cmdAccessList.ExecuteReader()) |
563 | { | 563 | { |
564 | while (readerAccessList.Read()) | 564 | while (readerAccessList.Read()) |