From a3a8691ebecf3a029e0e897786fde5051d3d6097 Mon Sep 17 00:00:00 2001 From: John Hurliman Date: Tue, 6 Oct 2009 14:18:37 -0700 Subject: MySQLLegacyRegionData: Extreme Spam Edition(tm) --- OpenSim/Data/MySQL/MySQLLegacyRegionData.cs | 6 ++++++ 1 file changed, 6 insertions(+) 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 Dictionary prims = new Dictionary(); SceneObjectGroup grp = null; + m_log.Debug("[REGION DB]: Entering LoadObjects()"); + lock (m_Connection) { + m_log.Debug("[REGION DB]: Entered LoadObjects() lock"); + using (MySqlCommand cmd = m_Connection.CreateCommand()) { cmd.CommandText = "select *, " + @@ -419,6 +423,8 @@ namespace OpenSim.Data.MySQL { while (reader.Read()) { + m_log.Debug("[REGION DB]: LoadObjects() Read a prim"); + SceneObjectPart prim = BuildPrim(reader); if (reader["Shape"] is DBNull) prim.Shape = PrimitiveBaseShape.Default; -- cgit v1.1