From fb49e010b781b33c6c7cc52f88aed0dcf6f8a721 Mon Sep 17 00:00:00 2001 From: Homer Horwitz Date: Mon, 22 Dec 2008 19:49:17 +0000 Subject: Update the MySQL connector to 5.2.5. Fixes Mantids#2673. Thanks for the hint, jhurliman. --- OpenSim/Data/MySQL/MySQLAssetData.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim/Data/MySQL') diff --git a/OpenSim/Data/MySQL/MySQLAssetData.cs b/OpenSim/Data/MySQL/MySQLAssetData.cs index 4b51bda..23077f1 100644 --- a/OpenSim/Data/MySQL/MySQLAssetData.cs +++ b/OpenSim/Data/MySQL/MySQLAssetData.cs @@ -142,7 +142,7 @@ namespace OpenSim.Data.MySQL asset.Data = (byte[]) dbReader["data"]; asset.Description = (string) dbReader["description"]; asset.FullID = assetID; - asset.Local = ((sbyte) dbReader["local"]) != 0 ? true : false; + asset.Local = (bool)dbReader["local"]; asset.Name = (string) dbReader["name"]; asset.Type = (sbyte) dbReader["assetType"]; } -- cgit v1.1