diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Data/MSSQL/MSSQLInventoryData.cs | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/OpenSim/Data/MSSQL/MSSQLInventoryData.cs b/OpenSim/Data/MSSQL/MSSQLInventoryData.cs index 032b2c2..611a559 100644 --- a/OpenSim/Data/MSSQL/MSSQLInventoryData.cs +++ b/OpenSim/Data/MSSQL/MSSQLInventoryData.cs | |||
@@ -198,7 +198,6 @@ namespace OpenSim.Data.MSSQL | |||
198 | while (reader.Read()) | 198 | while (reader.Read()) |
199 | items.Add(readInventoryFolder(reader)); | 199 | items.Add(readInventoryFolder(reader)); |
200 | 200 | ||
201 | |||
202 | reader.Close(); | 201 | reader.Close(); |
203 | result.Dispose(); | 202 | result.Dispose(); |
204 | 203 | ||
@@ -321,12 +320,12 @@ namespace OpenSim.Data.MSSQL | |||
321 | item.Creator = new LLUUID((string) reader["creatorID"]); | 320 | item.Creator = new LLUUID((string) reader["creatorID"]); |
322 | item.BasePermissions = Convert.ToUInt32(reader["inventoryBasePermissions"]); | 321 | item.BasePermissions = Convert.ToUInt32(reader["inventoryBasePermissions"]); |
323 | item.EveryOnePermissions = Convert.ToUInt32(reader["inventoryEveryOnePermissions"]); | 322 | item.EveryOnePermissions = Convert.ToUInt32(reader["inventoryEveryOnePermissions"]); |
324 | item.SalePrice = (int) reader["salePrice"]; | 323 | item.SalePrice = (int) reader["salePrice"]; |
325 | item.SaleType = Convert.ToByte(reader["saleType"]); | 324 | item.SaleType = Convert.ToByte(reader["saleType"]); |
326 | item.CreationDate = (int) reader["creationDate"]; | 325 | item.CreationDate = (int) reader["creationDate"]; |
327 | item.GroupID = new LLUUID(reader["groupID"].ToString()); | 326 | item.GroupID = new LLUUID(reader["groupID"].ToString()); |
328 | item.GroupOwned = Convert.ToBoolean(reader["groupOwned"]); | 327 | item.GroupOwned = Convert.ToBoolean(reader["groupOwned"]); |
329 | item.Flags = (uint) reader["flags"]; | 328 | item.Flags = (uint) reader["flags"]; |
330 | 329 | ||
331 | return item; | 330 | return item; |
332 | } | 331 | } |