mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 09:45:47 +08:00
Mantis#1450. Thank you kindly, Boscata for a patch that addresses:
I have detected a bug of conversion data type in OpenSim.Data.MSSQL.MSSQLInventoryData.addInventoryItem(InventoryItemBase item) in the GroupOwned field. My sollution is to change the flield to bit in the table. In the readInventoryItem(IDataReader reader) change too item.Flags = (uint) reader["flags"]; to item.Flags = Convert.ToUInt32(reader["flags"]); Now Inventory runs fine.
This commit is contained in:
@@ -22,7 +22,7 @@ CREATE TABLE [inventoryitems] (
|
||||
[saleType] [tinyint] default NULL,
|
||||
[creationDate] [int] default NULL,
|
||||
[groupID] [varchar](36) default NULL,
|
||||
[groupOwned] [tinyint] default NULL,
|
||||
[groupOwned] [bit] default NULL,
|
||||
[flags] [int] unsigned default NULL,
|
||||
PRIMARY KEY CLUSTERED
|
||||
(
|
||||
@@ -43,3 +43,4 @@ CREATE NONCLUSTERED INDEX [folder] ON [inventoryitems]
|
||||
|
||||
SET ANSI_PADDING OFF
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user