aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/MSSQL
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Data/MSSQL')
-rw-r--r--OpenSim/Data/MSSQL/MSSQLRegionData.cs1
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>();