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/Data/SQLiteLegacy/SQLiteSimulationData.cs | |
parent | Updated SQLiteLegacy/SQLiteSimulationData with the same. Is this crap still u... (diff) | |
download | opensim-SC-c617d658dda92ad97de678d477a98c3df0659303.zip opensim-SC-c617d658dda92ad97de678d477a98c3df0659303.tar.gz opensim-SC-c617d658dda92ad97de678d477a98c3df0659303.tar.bz2 opensim-SC-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 '')
-rw-r--r-- | OpenSim/Data/SQLiteLegacy/SQLiteSimulationData.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Data/SQLiteLegacy/SQLiteSimulationData.cs b/OpenSim/Data/SQLiteLegacy/SQLiteSimulationData.cs index bcc1006..1ad1e66 100644 --- a/OpenSim/Data/SQLiteLegacy/SQLiteSimulationData.cs +++ b/OpenSim/Data/SQLiteLegacy/SQLiteSimulationData.cs | |||
@@ -1334,7 +1334,7 @@ namespace OpenSim.Data.SQLiteLegacy | |||
1334 | taskItem.Name = (String)row["name"]; | 1334 | taskItem.Name = (String)row["name"]; |
1335 | taskItem.Description = (String)row["description"]; | 1335 | taskItem.Description = (String)row["description"]; |
1336 | taskItem.CreationDate = Convert.ToUInt32(row["creationDate"]); | 1336 | taskItem.CreationDate = Convert.ToUInt32(row["creationDate"]); |
1337 | taskItem.CreatorID = new UUID((String)row["creatorID"]); | 1337 | taskItem.CreatorIdentification = (String)row["creatorID"]; |
1338 | taskItem.OwnerID = new UUID((String)row["ownerID"]); | 1338 | taskItem.OwnerID = new UUID((String)row["ownerID"]); |
1339 | taskItem.LastOwnerID = new UUID((String)row["lastOwnerID"]); | 1339 | taskItem.LastOwnerID = new UUID((String)row["lastOwnerID"]); |
1340 | taskItem.GroupID = new UUID((String)row["groupID"]); | 1340 | taskItem.GroupID = new UUID((String)row["groupID"]); |
@@ -1664,7 +1664,7 @@ namespace OpenSim.Data.SQLiteLegacy | |||
1664 | row["name"] = taskItem.Name; | 1664 | row["name"] = taskItem.Name; |
1665 | row["description"] = taskItem.Description; | 1665 | row["description"] = taskItem.Description; |
1666 | row["creationDate"] = taskItem.CreationDate; | 1666 | row["creationDate"] = taskItem.CreationDate; |
1667 | row["creatorID"] = taskItem.CreatorID.ToString(); | 1667 | row["creatorID"] = taskItem.CreatorIdentification.ToString(); |
1668 | row["ownerID"] = taskItem.OwnerID.ToString(); | 1668 | row["ownerID"] = taskItem.OwnerID.ToString(); |
1669 | row["lastOwnerID"] = taskItem.LastOwnerID.ToString(); | 1669 | row["lastOwnerID"] = taskItem.LastOwnerID.ToString(); |
1670 | row["groupID"] = taskItem.GroupID.ToString(); | 1670 | row["groupID"] = taskItem.GroupID.ToString(); |