* Fix for SQLiteAssetData - We now ignore duplicate assets. We shouldn't support replacing a asset with a fixed UUID as this leads to potential collisions and revisioning issues when proxying down the road.

0.6.0-stable
Adam Frisby 2008-03-12 12:59:09 +00:00
parent 43148ffc23
commit 1277f68f43
1 changed files with 1 additions and 2 deletions

View File

@ -91,8 +91,7 @@ namespace OpenSim.Framework.Data.SQLite
m_log.Info("[SQLITE]: Creating Asset " + Util.ToRawUuidString(asset.FullID)); m_log.Info("[SQLITE]: Creating Asset " + Util.ToRawUuidString(asset.FullID));
if (ExistsAsset(asset.FullID)) if (ExistsAsset(asset.FullID))
{ {
m_log.Info("[SQLITE]: Asset exists, updating instead. You should fix the caller for this!"); m_log.Info("[SQLITE]: Asset exists already, ignoring.");
UpdateAsset(asset);
} }
else else
{ {