diff options
author | UbitUmarov | 2016-09-27 21:29:09 +0100 |
---|---|---|
committer | UbitUmarov | 2016-09-27 21:29:09 +0100 |
commit | 46dd899d9e98c88c1a4cd2be3c4065a317a8f35d (patch) | |
tree | 3a9eac6f5c0b1fceaf0c24086fee140b9e4d075c | |
parent | MySQLFSAssetData on store, if a asset already exists, assume its a valid sto... (diff) | |
download | opensim-SC_OLD-46dd899d9e98c88c1a4cd2be3c4065a317a8f35d.zip opensim-SC_OLD-46dd899d9e98c88c1a4cd2be3c4065a317a8f35d.tar.gz opensim-SC_OLD-46dd899d9e98c88c1a4cd2be3c4065a317a8f35d.tar.bz2 opensim-SC_OLD-46dd899d9e98c88c1a4cd2be3c4065a317a8f35d.tar.xz |
MySQLFSAssetData asset type is a int not a varchar
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Data/MySQL/MySQLFSAssetData.cs | 4 |
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 | ||