diff options
author | Mic Bowman | 2011-08-19 14:49:16 -0700 |
---|---|---|
committer | Mic Bowman | 2011-08-19 14:49:16 -0700 |
commit | 384cb79a1a27c47bb3fdbdef6d601a3dcb9dfb0f (patch) | |
tree | 5e557eac5d4d3d4ad95b9e3e70a2a661e5745ec3 /OpenSim/Data/MySQL/MySQLAssetData.cs | |
parent | BulletSim: add runtime setting of physics parameters. Update default values. (diff) | |
parent | Get rid of HttpServer.dll to avoid confusion since we use HttpServer_OpenSim.... (diff) | |
download | opensim-SC-384cb79a1a27c47bb3fdbdef6d601a3dcb9dfb0f.zip opensim-SC-384cb79a1a27c47bb3fdbdef6d601a3dcb9dfb0f.tar.gz opensim-SC-384cb79a1a27c47bb3fdbdef6d601a3dcb9dfb0f.tar.bz2 opensim-SC-384cb79a1a27c47bb3fdbdef6d601a3dcb9dfb0f.tar.xz |
Merge branch 'master' into bulletsim
Conflicts:
OpenSim/Region/Framework/Scenes/SceneManager.cs
Diffstat (limited to 'OpenSim/Data/MySQL/MySQLAssetData.cs')
-rw-r--r-- | OpenSim/Data/MySQL/MySQLAssetData.cs | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/OpenSim/Data/MySQL/MySQLAssetData.cs b/OpenSim/Data/MySQL/MySQLAssetData.cs index e740232..a743479 100644 --- a/OpenSim/Data/MySQL/MySQLAssetData.cs +++ b/OpenSim/Data/MySQL/MySQLAssetData.cs | |||
@@ -251,12 +251,14 @@ namespace OpenSim.Data.MySQL | |||
251 | } | 251 | } |
252 | 252 | ||
253 | /// <summary> | 253 | /// <summary> |
254 | /// check if the asset UUID exist in database | 254 | /// Check if the asset exists in the database |
255 | /// </summary> | 255 | /// </summary> |
256 | /// <param name="uuid">The asset UUID</param> | 256 | /// <param name="uuid">The asset UUID</param> |
257 | /// <returns>true if exist.</returns> | 257 | /// <returns>true if it exists, false otherwise.</returns> |
258 | override public bool ExistsAsset(UUID uuid) | 258 | override public bool ExistsAsset(UUID uuid) |
259 | { | 259 | { |
260 | // m_log.DebugFormat("[ASSETS DB]: Checking for asset {0}", uuid); | ||
261 | |||
260 | bool assetExists = false; | 262 | bool assetExists = false; |
261 | 263 | ||
262 | lock (m_dbLock) | 264 | lock (m_dbLock) |
@@ -273,7 +275,10 @@ namespace OpenSim.Data.MySQL | |||
273 | using (MySqlDataReader dbReader = cmd.ExecuteReader(CommandBehavior.SingleRow)) | 275 | using (MySqlDataReader dbReader = cmd.ExecuteReader(CommandBehavior.SingleRow)) |
274 | { | 276 | { |
275 | if (dbReader.Read()) | 277 | if (dbReader.Read()) |
278 | { | ||
279 | // m_log.DebugFormat("[ASSETS DB]: Found asset {0}", uuid); | ||
276 | assetExists = true; | 280 | assetExists = true; |
281 | } | ||
277 | } | 282 | } |
278 | } | 283 | } |
279 | catch (Exception e) | 284 | catch (Exception e) |