diff options
author | John Hurliman | 2009-10-06 14:18:37 -0700 |
---|---|---|
committer | John Hurliman | 2009-10-06 14:18:37 -0700 |
commit | a3a8691ebecf3a029e0e897786fde5051d3d6097 (patch) | |
tree | 220f78e277ad2c638f88dc4fa1099ffd9c595377 /OpenSim | |
parent | Added a debug line for nebadon (diff) | |
download | opensim-SC-a3a8691ebecf3a029e0e897786fde5051d3d6097.zip opensim-SC-a3a8691ebecf3a029e0e897786fde5051d3d6097.tar.gz opensim-SC-a3a8691ebecf3a029e0e897786fde5051d3d6097.tar.bz2 opensim-SC-a3a8691ebecf3a029e0e897786fde5051d3d6097.tar.xz |
MySQLLegacyRegionData: Extreme Spam Edition(tm)
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Data/MySQL/MySQLLegacyRegionData.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Data/MySQL/MySQLLegacyRegionData.cs b/OpenSim/Data/MySQL/MySQLLegacyRegionData.cs index fe0914b..d99bc30 100644 --- a/OpenSim/Data/MySQL/MySQLLegacyRegionData.cs +++ b/OpenSim/Data/MySQL/MySQLLegacyRegionData.cs | |||
@@ -402,8 +402,12 @@ namespace OpenSim.Data.MySQL | |||
402 | Dictionary<UUID, SceneObjectPart> prims = new Dictionary<UUID, SceneObjectPart>(); | 402 | Dictionary<UUID, SceneObjectPart> prims = new Dictionary<UUID, SceneObjectPart>(); |
403 | SceneObjectGroup grp = null; | 403 | SceneObjectGroup grp = null; |
404 | 404 | ||
405 | m_log.Debug("[REGION DB]: Entering LoadObjects()"); | ||
406 | |||
405 | lock (m_Connection) | 407 | lock (m_Connection) |
406 | { | 408 | { |
409 | m_log.Debug("[REGION DB]: Entered LoadObjects() lock"); | ||
410 | |||
407 | using (MySqlCommand cmd = m_Connection.CreateCommand()) | 411 | using (MySqlCommand cmd = m_Connection.CreateCommand()) |
408 | { | 412 | { |
409 | cmd.CommandText = "select *, " + | 413 | cmd.CommandText = "select *, " + |
@@ -419,6 +423,8 @@ namespace OpenSim.Data.MySQL | |||
419 | { | 423 | { |
420 | while (reader.Read()) | 424 | while (reader.Read()) |
421 | { | 425 | { |
426 | m_log.Debug("[REGION DB]: LoadObjects() Read a prim"); | ||
427 | |||
422 | SceneObjectPart prim = BuildPrim(reader); | 428 | SceneObjectPart prim = BuildPrim(reader); |
423 | if (reader["Shape"] is DBNull) | 429 | if (reader["Shape"] is DBNull) |
424 | prim.Shape = PrimitiveBaseShape.Default; | 430 | prim.Shape = PrimitiveBaseShape.Default; |