aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-07-02 16:20:54 +0000
committerJustin Clarke Casey2008-07-02 16:20:54 +0000
commit9052c43319ab69f57b80e363d965780be625b0e2 (patch)
tree3e17e9c0908be54ecb01ddff824d6c1a32020e88 /OpenSim/Region
parentMantis#1647. Thank you kindly, Sempuki for a patch that: (diff)
downloadopensim-SC-9052c43319ab69f57b80e363d965780be625b0e2.zip
opensim-SC-9052c43319ab69f57b80e363d965780be625b0e2.tar.gz
opensim-SC-9052c43319ab69f57b80e363d965780be625b0e2.tar.bz2
opensim-SC-9052c43319ab69f57b80e363d965780be625b0e2.tar.xz
* Drop InvType from the assets table since it is no longer used
* Migration should be automatic on sqlite and mysql * Migration is not automatic on mssql, you will need to drop the invType column manually * Migration should be fine, but as for any db change, I would recommend making sure you have backups before moving past this revision
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/Environment/Modules/Agent/AssetTransaction/AgentAssetsTransactions.cs3
1 files changed, 0 insertions, 3 deletions
diff --git a/OpenSim/Region/Environment/Modules/Agent/AssetTransaction/AgentAssetsTransactions.cs b/OpenSim/Region/Environment/Modules/Agent/AssetTransaction/AgentAssetsTransactions.cs
index f2185ab..bc1d710 100644
--- a/OpenSim/Region/Environment/Modules/Agent/AssetTransaction/AgentAssetsTransactions.cs
+++ b/OpenSim/Region/Environment/Modules/Agent/AssetTransaction/AgentAssetsTransactions.cs
@@ -216,7 +216,6 @@ namespace OpenSim.Region.Environment.Modules.Agent.AssetTransaction
216 ourClient = remoteClient; 216 ourClient = remoteClient;
217 Asset = new AssetBase(); 217 Asset = new AssetBase();
218 Asset.FullID = assetID; 218 Asset.FullID = assetID;
219 Asset.InvType = type;
220 Asset.Type = type; 219 Asset.Type = type;
221 Asset.Data = data; 220 Asset.Data = data;
222 Asset.Name = "blank"; 221 Asset.Name = "blank";
@@ -314,7 +313,6 @@ namespace OpenSim.Region.Environment.Modules.Agent.AssetTransaction
314 Asset.Name = name; 313 Asset.Name = name;
315 Asset.Description = description; 314 Asset.Description = description;
316 Asset.Type = type; 315 Asset.Type = type;
317 Asset.InvType = invType;
318 m_createItem = true; 316 m_createItem = true;
319 if (m_finished) 317 if (m_finished)
320 { 318 {
@@ -351,7 +349,6 @@ namespace OpenSim.Region.Environment.Modules.Agent.AssetTransaction
351 asset.FullID = LLUUID.Random(); 349 asset.FullID = LLUUID.Random();
352 asset.Name = item.Name; 350 asset.Name = item.Name;
353 asset.Description = item.Description; 351 asset.Description = item.Description;
354 asset.InvType = (sbyte) item.InvType;
355 asset.Type = (sbyte) item.AssetType; 352 asset.Type = (sbyte) item.AssetType;
356 item.AssetID = asset.FullID; 353 item.AssetID = asset.FullID;
357 354