aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/MySQL
diff options
context:
space:
mode:
authorUbitUmarov2016-09-27 21:29:09 +0100
committerUbitUmarov2016-09-27 21:29:09 +0100
commit46dd899d9e98c88c1a4cd2be3c4065a317a8f35d (patch)
tree3a9eac6f5c0b1fceaf0c24086fee140b9e4d075c /OpenSim/Data/MySQL
parentMySQLFSAssetData on store, if a asset already exists, assume its a valid sto... (diff)
downloadopensim-SC-46dd899d9e98c88c1a4cd2be3c4065a317a8f35d.zip
opensim-SC-46dd899d9e98c88c1a4cd2be3c4065a317a8f35d.tar.gz
opensim-SC-46dd899d9e98c88c1a4cd2be3c4065a317a8f35d.tar.bz2
opensim-SC-46dd899d9e98c88c1a4cd2be3c4065a317a8f35d.tar.xz
MySQLFSAssetData asset type is a int not a varchar
Diffstat (limited to 'OpenSim/Data/MySQL')
-rw-r--r--OpenSim/Data/MySQL/MySQLFSAssetData.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Data/MySQL/MySQLFSAssetData.cs b/OpenSim/Data/MySQL/MySQLFSAssetData.cs
index 46bdd99..4ed2de6 100644
--- a/OpenSim/Data/MySQL/MySQLFSAssetData.cs
+++ b/OpenSim/Data/MySQL/MySQLFSAssetData.cs
@@ -221,8 +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("?type", meta.Type);
226 cmd.Parameters.AddWithValue("?hash", hash); 226 cmd.Parameters.AddWithValue("?hash", hash);
227 cmd.Parameters.AddWithValue("?asset_flags", meta.Flags); 227 cmd.Parameters.AddWithValue("?asset_flags", meta.Flags);
228 228