MySQLFSAssetData asset type is a int not a varchar

0.9.0-post-fixes
UbitUmarov 2016-09-27 21:29:09 +01:00
parent 9b2f186a8c
commit 46dd899d9e
1 changed files with 2 additions and 2 deletions

View File

@ -221,8 +221,8 @@ namespace OpenSim.Data.MySQL
cmd.Parameters.AddWithValue("?id", meta.ID); cmd.Parameters.AddWithValue("?id", meta.ID);
cmd.Parameters.AddWithValue("?name", meta.Name); cmd.Parameters.AddWithValue("?name", meta.Name);
cmd.Parameters.AddWithValue("?description", meta.Description); cmd.Parameters.AddWithValue("?description", meta.Description);
cmd.Parameters.AddWithValue("?type", meta.Type.ToString()); // cmd.Parameters.AddWithValue("?type", meta.Type.ToString());
// cmd.Parameters.AddWithValue("?type", meta.Type); cmd.Parameters.AddWithValue("?type", meta.Type);
cmd.Parameters.AddWithValue("?hash", hash); cmd.Parameters.AddWithValue("?hash", hash);
cmd.Parameters.AddWithValue("?asset_flags", meta.Flags); cmd.Parameters.AddWithValue("?asset_flags", meta.Flags);