diff options
author | Sean Dague | 2008-03-11 21:37:35 +0000 |
---|---|---|
committer | Sean Dague | 2008-03-11 21:37:35 +0000 |
commit | 6340fa0aab14f03c6ed2c76e027740be49b85861 (patch) | |
tree | f587915f528884ee7824095e6a92660102fd7286 /OpenSim/Framework/Data.SQLite/SQLiteAssetData.cs | |
parent | get rid of artificial InventoryLock object in favor of (diff) | |
download | opensim-SC_OLD-6340fa0aab14f03c6ed2c76e027740be49b85861.zip opensim-SC_OLD-6340fa0aab14f03c6ed2c76e027740be49b85861.tar.gz opensim-SC_OLD-6340fa0aab14f03c6ed2c76e027740be49b85861.tar.bz2 opensim-SC_OLD-6340fa0aab14f03c6ed2c76e027740be49b85861.tar.xz |
Ensure resolution of mantis 113
Diffstat (limited to 'OpenSim/Framework/Data.SQLite/SQLiteAssetData.cs')
-rw-r--r-- | OpenSim/Framework/Data.SQLite/SQLiteAssetData.cs | 4 |
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) |