diff options
Diffstat (limited to 'OpenSim/Data/MySQL/MySQLLegacyRegionData.cs')
-rw-r--r-- | OpenSim/Data/MySQL/MySQLLegacyRegionData.cs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/OpenSim/Data/MySQL/MySQLLegacyRegionData.cs b/OpenSim/Data/MySQL/MySQLLegacyRegionData.cs index d99bc30..fe0914b 100644 --- a/OpenSim/Data/MySQL/MySQLLegacyRegionData.cs +++ b/OpenSim/Data/MySQL/MySQLLegacyRegionData.cs | |||
@@ -402,12 +402,8 @@ 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 | |||
407 | lock (m_Connection) | 405 | lock (m_Connection) |
408 | { | 406 | { |
409 | m_log.Debug("[REGION DB]: Entered LoadObjects() lock"); | ||
410 | |||
411 | using (MySqlCommand cmd = m_Connection.CreateCommand()) | 407 | using (MySqlCommand cmd = m_Connection.CreateCommand()) |
412 | { | 408 | { |
413 | cmd.CommandText = "select *, " + | 409 | cmd.CommandText = "select *, " + |
@@ -423,8 +419,6 @@ namespace OpenSim.Data.MySQL | |||
423 | { | 419 | { |
424 | while (reader.Read()) | 420 | while (reader.Read()) |
425 | { | 421 | { |
426 | m_log.Debug("[REGION DB]: LoadObjects() Read a prim"); | ||
427 | |||
428 | SceneObjectPart prim = BuildPrim(reader); | 422 | SceneObjectPart prim = BuildPrim(reader); |
429 | if (reader["Shape"] is DBNull) | 423 | if (reader["Shape"] is DBNull) |
430 | prim.Shape = PrimitiveBaseShape.Default; | 424 | prim.Shape = PrimitiveBaseShape.Default; |