aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-05-31 21:54:13 +0000
committerJustin Clarke Casey2008-05-31 21:54:13 +0000
commit0c21f90ba72f00ebea3ac598d000e8f6603e3718 (patch)
treefa8220ada60e3ae5ddff9ed5dfe5f8d9d1647cac
parent* Remove the mysql logging noise I accidentally left in a few commits ago (diff)
downloadopensim-SC_OLD-0c21f90ba72f00ebea3ac598d000e8f6603e3718.zip
opensim-SC_OLD-0c21f90ba72f00ebea3ac598d000e8f6603e3718.tar.gz
opensim-SC_OLD-0c21f90ba72f00ebea3ac598d000e8f6603e3718.tar.bz2
opensim-SC_OLD-0c21f90ba72f00ebea3ac598d000e8f6603e3718.tar.xz
* Duh, actually returning from the CreateAsset method once we know the asset exists would be better than carrying on
-rw-r--r--OpenSim/Data/MySQL/MySQLAssetData.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Data/MySQL/MySQLAssetData.cs b/OpenSim/Data/MySQL/MySQLAssetData.cs
index abe3ff3..7ebc806 100644
--- a/OpenSim/Data/MySQL/MySQLAssetData.cs
+++ b/OpenSim/Data/MySQL/MySQLAssetData.cs
@@ -118,6 +118,7 @@ namespace OpenSim.Data.MySQL
118 if (ExistsAsset(asset.FullID)) 118 if (ExistsAsset(asset.FullID))
119 { 119 {
120 //m_log.Info("[ASSET DB]: Asset exists already, ignoring."); 120 //m_log.Info("[ASSET DB]: Asset exists already, ignoring.");
121 return;
121 } 122 }
122 123
123 MySqlCommand cmd = 124 MySqlCommand cmd =