diff options
author | Chris Hart | 2009-09-02 21:42:41 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2009-09-03 19:07:50 +0100 |
commit | c4ae9413f1658d6b8cb42b6e382592c91e060f7b (patch) | |
tree | 767ca6c4ae0a5ca7888cd946b53f45cfe80f14d9 /OpenSim/Data/MSSQL/MSSQLRegionData.cs | |
parent | another git test (diff) | |
download | opensim-SC_OLD-c4ae9413f1658d6b8cb42b6e382592c91e060f7b.zip opensim-SC_OLD-c4ae9413f1658d6b8cb42b6e382592c91e060f7b.tar.gz opensim-SC_OLD-c4ae9413f1658d6b8cb42b6e382592c91e060f7b.tar.bz2 opensim-SC_OLD-c4ae9413f1658d6b8cb42b6e382592c91e060f7b.tar.xz |
MSSQL Minor tweak to recent patch for region loading (Thanks Grumly57 for spotting it!)
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Data/MSSQL/MSSQLRegionData.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Data/MSSQL/MSSQLRegionData.cs b/OpenSim/Data/MSSQL/MSSQLRegionData.cs index c9e4bfe..adedcce 100644 --- a/OpenSim/Data/MSSQL/MSSQLRegionData.cs +++ b/OpenSim/Data/MSSQL/MSSQLRegionData.cs | |||
@@ -210,6 +210,7 @@ namespace OpenSim.Data.MSSQL | |||
210 | { | 210 | { |
211 | foreach (SceneObjectPart objectPart in allPrimsWithInventory) | 211 | foreach (SceneObjectPart objectPart in allPrimsWithInventory) |
212 | { | 212 | { |
213 | command.Parameters.Clear(); | ||
213 | command.Parameters.Add(_Database.CreateParameter("@PrimID", objectPart.UUID)); | 214 | command.Parameters.Add(_Database.CreateParameter("@PrimID", objectPart.UUID)); |
214 | 215 | ||
215 | List<TaskInventoryItem> inventory = new List<TaskInventoryItem>(); | 216 | List<TaskInventoryItem> inventory = new List<TaskInventoryItem>(); |