aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/MySQL
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Data/MySQL')
-rw-r--r--OpenSim/Data/MySQL/MySQLLegacyRegionData.cs6
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;