aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/MySQL/MySQLAssetData.cs
diff options
context:
space:
mode:
authorMelanie2010-05-18 23:02:05 +0100
committerMelanie2010-05-18 23:02:10 +0100
commit397326ddfa5fd14b8423a152dd9ec5a471924a41 (patch)
tree8f719ceba221fd7980b7354bb1928ae734c84fc9 /OpenSim/Data/MySQL/MySQLAssetData.cs
parentRevert "Looks like the new files were never added to prebuild.xml" (diff)
parentSome more corrections after MySQL connector update (diff)
downloadopensim-SC_OLD-397326ddfa5fd14b8423a152dd9ec5a471924a41.zip
opensim-SC_OLD-397326ddfa5fd14b8423a152dd9ec5a471924a41.tar.gz
opensim-SC_OLD-397326ddfa5fd14b8423a152dd9ec5a471924a41.tar.bz2
opensim-SC_OLD-397326ddfa5fd14b8423a152dd9ec5a471924a41.tar.xz
Merge commit 'alex/Migrations'
Another stab at the tests Signed-off-by: Melanie <melanie@t-data.com>
Diffstat (limited to 'OpenSim/Data/MySQL/MySQLAssetData.cs')
-rw-r--r--OpenSim/Data/MySQL/MySQLAssetData.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Data/MySQL/MySQLAssetData.cs b/OpenSim/Data/MySQL/MySQLAssetData.cs
index 13f5fa2..ec18c28 100644
--- a/OpenSim/Data/MySQL/MySQLAssetData.cs
+++ b/OpenSim/Data/MySQL/MySQLAssetData.cs
@@ -33,6 +33,7 @@ using log4net;
33using MySql.Data.MySqlClient; 33using MySql.Data.MySqlClient;
34using OpenMetaverse; 34using OpenMetaverse;
35using OpenSim.Framework; 35using OpenSim.Framework;
36using OpenSim.Data;
36 37
37namespace OpenSim.Data.MySQL 38namespace OpenSim.Data.MySQL
38{ 39{
@@ -320,7 +321,7 @@ namespace OpenSim.Data.MySQL
320 metadata.Type = (sbyte)dbReader["assetType"]; 321 metadata.Type = (sbyte)dbReader["assetType"];
321 metadata.Temporary = Convert.ToBoolean(dbReader["temporary"]); // Not sure if this is correct. 322 metadata.Temporary = Convert.ToBoolean(dbReader["temporary"]); // Not sure if this is correct.
322 metadata.Flags = (AssetFlags)Convert.ToInt32(dbReader["asset_flags"]); 323 metadata.Flags = (AssetFlags)Convert.ToInt32(dbReader["asset_flags"]);
323 metadata.FullID = new UUID((string)dbReader["id"]); 324 metadata.FullID = DBGuid.FromDB(dbReader["id"]);
324 325
325 // Current SHA1s are not stored/computed. 326 // Current SHA1s are not stored/computed.
326 metadata.SHA1 = new byte[] { }; 327 metadata.SHA1 = new byte[] { };