diff options
author | Diva Canto | 2010-11-21 17:19:24 -0800 |
---|---|---|
committer | Diva Canto | 2010-11-21 17:19:24 -0800 |
commit | c617d658dda92ad97de678d477a98c3df0659303 (patch) | |
tree | 9a86356af2fcf4ae4eab18b53dc7330bf3e26a86 /OpenSim/Server | |
parent | Updated SQLiteLegacy/SQLiteSimulationData with the same. Is this crap still u... (diff) | |
download | opensim-SC_OLD-c617d658dda92ad97de678d477a98c3df0659303.zip opensim-SC_OLD-c617d658dda92ad97de678d477a98c3df0659303.tar.gz opensim-SC_OLD-c617d658dda92ad97de678d477a98c3df0659303.tar.bz2 opensim-SC_OLD-c617d658dda92ad97de678d477a98c3df0659303.tar.xz |
Added creator info across the board -- TaskInventoryItems and InventoryItems themselves. Tested. Seems to be working, main tests pass. Nothing done for IARs or HG transfers yet -- this only works for OARs for the time being.
New migration in inventory table in order to make CreatorID varchar(255).
Diffstat (limited to 'OpenSim/Server')
-rw-r--r-- | OpenSim/Server/Handlers/Inventory/XInventoryInConnector.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Server/Handlers/Inventory/XInventoryInConnector.cs b/OpenSim/Server/Handlers/Inventory/XInventoryInConnector.cs index ac6a3ab..23ae5b4 100644 --- a/OpenSim/Server/Handlers/Inventory/XInventoryInConnector.cs +++ b/OpenSim/Server/Handlers/Inventory/XInventoryInConnector.cs | |||
@@ -601,6 +601,7 @@ namespace OpenSim.Server.Handlers.Asset | |||
601 | ret["BasePermissions"] = item.BasePermissions.ToString(); | 601 | ret["BasePermissions"] = item.BasePermissions.ToString(); |
602 | ret["CreationDate"] = item.CreationDate.ToString(); | 602 | ret["CreationDate"] = item.CreationDate.ToString(); |
603 | ret["CreatorId"] = item.CreatorId.ToString(); | 603 | ret["CreatorId"] = item.CreatorId.ToString(); |
604 | ret["CreatorData"] = item.CreatorData.ToString(); | ||
604 | ret["CurrentPermissions"] = item.CurrentPermissions.ToString(); | 605 | ret["CurrentPermissions"] = item.CurrentPermissions.ToString(); |
605 | ret["Description"] = item.Description.ToString(); | 606 | ret["Description"] = item.Description.ToString(); |
606 | ret["EveryOnePermissions"] = item.EveryOnePermissions.ToString(); | 607 | ret["EveryOnePermissions"] = item.EveryOnePermissions.ToString(); |
@@ -646,6 +647,7 @@ namespace OpenSim.Server.Handlers.Asset | |||
646 | item.InvType = int.Parse(data["InvType"].ToString()); | 647 | item.InvType = int.Parse(data["InvType"].ToString()); |
647 | item.Folder = new UUID(data["Folder"].ToString()); | 648 | item.Folder = new UUID(data["Folder"].ToString()); |
648 | item.CreatorId = data["CreatorId"].ToString(); | 649 | item.CreatorId = data["CreatorId"].ToString(); |
650 | item.CreatorData = data["CreatorData"].ToString(); | ||
649 | item.Description = data["Description"].ToString(); | 651 | item.Description = data["Description"].ToString(); |
650 | item.NextPermissions = uint.Parse(data["NextPermissions"].ToString()); | 652 | item.NextPermissions = uint.Parse(data["NextPermissions"].ToString()); |
651 | item.CurrentPermissions = uint.Parse(data["CurrentPermissions"].ToString()); | 653 | item.CurrentPermissions = uint.Parse(data["CurrentPermissions"].ToString()); |