aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data
diff options
context:
space:
mode:
authorJohn Hurliman2009-10-06 14:18:37 -0700
committerJohn Hurliman2009-10-06 14:18:37 -0700
commita3a8691ebecf3a029e0e897786fde5051d3d6097 (patch)
tree220f78e277ad2c638f88dc4fa1099ffd9c595377 /OpenSim/Data
parentAdded a debug line for nebadon (diff)
downloadopensim-SC_OLD-a3a8691ebecf3a029e0e897786fde5051d3d6097.zip
opensim-SC_OLD-a3a8691ebecf3a029e0e897786fde5051d3d6097.tar.gz
opensim-SC_OLD-a3a8691ebecf3a029e0e897786fde5051d3d6097.tar.bz2
opensim-SC_OLD-a3a8691ebecf3a029e0e897786fde5051d3d6097.tar.xz
MySQLLegacyRegionData: Extreme Spam Edition(tm)
Diffstat (limited to 'OpenSim/Data')
-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;