From 46dd899d9e98c88c1a4cd2be3c4065a317a8f35d Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Tue, 27 Sep 2016 21:29:09 +0100 Subject: [PATCH] MySQLFSAssetData asset type is a int not a varchar --- OpenSim/Data/MySQL/MySQLFSAssetData.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenSim/Data/MySQL/MySQLFSAssetData.cs b/OpenSim/Data/MySQL/MySQLFSAssetData.cs index 46bdd99cd0..4ed2de688e 100644 --- a/OpenSim/Data/MySQL/MySQLFSAssetData.cs +++ b/OpenSim/Data/MySQL/MySQLFSAssetData.cs @@ -221,8 +221,8 @@ namespace OpenSim.Data.MySQL cmd.Parameters.AddWithValue("?id", meta.ID); cmd.Parameters.AddWithValue("?name", meta.Name); cmd.Parameters.AddWithValue("?description", meta.Description); - cmd.Parameters.AddWithValue("?type", meta.Type.ToString()); -// cmd.Parameters.AddWithValue("?type", meta.Type); +// cmd.Parameters.AddWithValue("?type", meta.Type.ToString()); + cmd.Parameters.AddWithValue("?type", meta.Type); cmd.Parameters.AddWithValue("?hash", hash); cmd.Parameters.AddWithValue("?asset_flags", meta.Flags);