* 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.
parent
43148ffc23
commit
1277f68f43
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue