aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data
diff options
context:
space:
mode:
authorUbitUmarov2016-10-08 01:27:02 +0100
committerUbitUmarov2016-10-08 01:27:02 +0100
commit9843e3776ed4a613fb5682112e9e6b618cb14f9f (patch)
treee6198111f4a331e331643ef00ddc29cc007d9af0 /OpenSim/Data
parentrecover regions main http server ssl suport. Using a PKCS12 cert file, and no... (diff)
parent remove attachment to event OnPreAgentUpdate that is doing nothing (diff)
downloadopensim-SC-9843e3776ed4a613fb5682112e9e6b618cb14f9f.zip
opensim-SC-9843e3776ed4a613fb5682112e9e6b618cb14f9f.tar.gz
opensim-SC-9843e3776ed4a613fb5682112e9e6b618cb14f9f.tar.bz2
opensim-SC-9843e3776ed4a613fb5682112e9e6b618cb14f9f.tar.xz
Merge branch 'master' into httptests
Diffstat (limited to 'OpenSim/Data')
-rw-r--r--OpenSim/Data/MySQL/MySQLFSAssetData.cs10
1 files changed, 8 insertions, 2 deletions
diff --git a/OpenSim/Data/MySQL/MySQLFSAssetData.cs b/OpenSim/Data/MySQL/MySQLFSAssetData.cs
index ce40c03..4ed2de6 100644
--- a/OpenSim/Data/MySQL/MySQLFSAssetData.cs
+++ b/OpenSim/Data/MySQL/MySQLFSAssetData.cs
@@ -221,7 +221,8 @@ namespace OpenSim.Data.MySQL
221 cmd.Parameters.AddWithValue("?id", meta.ID); 221 cmd.Parameters.AddWithValue("?id", meta.ID);
222 cmd.Parameters.AddWithValue("?name", meta.Name); 222 cmd.Parameters.AddWithValue("?name", meta.Name);
223 cmd.Parameters.AddWithValue("?description", meta.Description); 223 cmd.Parameters.AddWithValue("?description", meta.Description);
224 cmd.Parameters.AddWithValue("?type", meta.Type.ToString()); 224// cmd.Parameters.AddWithValue("?type", meta.Type.ToString());
225 cmd.Parameters.AddWithValue("?type", meta.Type);
225 cmd.Parameters.AddWithValue("?hash", hash); 226 cmd.Parameters.AddWithValue("?hash", hash);
226 cmd.Parameters.AddWithValue("?asset_flags", meta.Flags); 227 cmd.Parameters.AddWithValue("?asset_flags", meta.Flags);
227 228
@@ -239,7 +240,12 @@ namespace OpenSim.Data.MySQL
239 //ExecuteNonQuery(cmd); 240 //ExecuteNonQuery(cmd);
240 241
241 } 242 }
242 return false; 243
244// return false;
245 // if the asset already exits
246 // assume it was already correctly stored
247 // or regions will keep retry.
248 return true;
243 } 249 }
244 catch(Exception e) 250 catch(Exception e)
245 { 251 {