From 0c21f90ba72f00ebea3ac598d000e8f6603e3718 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Sat, 31 May 2008 21:54:13 +0000 Subject: [PATCH] * Duh, actually returning from the CreateAsset method once we know the asset exists would be better than carrying on --- OpenSim/Data/MySQL/MySQLAssetData.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/OpenSim/Data/MySQL/MySQLAssetData.cs b/OpenSim/Data/MySQL/MySQLAssetData.cs index abe3ff30f0..7ebc806b46 100644 --- a/OpenSim/Data/MySQL/MySQLAssetData.cs +++ b/OpenSim/Data/MySQL/MySQLAssetData.cs @@ -118,6 +118,7 @@ namespace OpenSim.Data.MySQL if (ExistsAsset(asset.FullID)) { //m_log.Info("[ASSET DB]: Asset exists already, ignoring."); + return; } MySqlCommand cmd =