aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Framework/Data.SQLite/SQLiteAssetData.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Framework/Data.SQLite/SQLiteAssetData.cs b/OpenSim/Framework/Data.SQLite/SQLiteAssetData.cs
index d08ef8b..2ca49b5 100644
--- a/OpenSim/Framework/Data.SQLite/SQLiteAssetData.cs
+++ b/OpenSim/Framework/Data.SQLite/SQLiteAssetData.cs
@@ -137,10 +137,12 @@ namespace OpenSim.Framework.Data.SQLite
137 string temporary = asset.Temporary ? "Temporary" : "Stored"; 137 string temporary = asset.Temporary ? "Temporary" : "Stored";
138 string local = asset.Local ? "Local" : "Remote"; 138 string local = asset.Local ? "Local" : "Remote";
139 139
140 int assetLength = (asset.Data != null) ? asset.Data.Length : 0;
141
140 m_log.Info("[SQLITE]: " + 142 m_log.Info("[SQLITE]: " +
141 string.Format("Loaded {6} {5} Asset: [{0}][{3}/{4}] \"{1}\":{2} ({7} bytes)", 143 string.Format("Loaded {6} {5} Asset: [{0}][{3}/{4}] \"{1}\":{2} ({7} bytes)",
142 asset.FullID, asset.Name, asset.Description, asset.Type, 144 asset.FullID, asset.Name, asset.Description, asset.Type,
143 asset.InvType, temporary, local, asset.Data.Length)); 145 asset.InvType, temporary, local, assetLength));
144 } 146 }
145 147
146 public bool ExistsAsset(LLUUID uuid) 148 public bool ExistsAsset(LLUUID uuid)