Reverting MySQLLegacyRegionData spam

This commit is contained in:
John Hurliman
2009-10-06 14:26:00 -07:00
parent a3a8691ebe
commit c855806548

View File

@@ -402,12 +402,8 @@ namespace OpenSim.Data.MySQL
Dictionary<UUID, SceneObjectPart> prims = new Dictionary<UUID, SceneObjectPart>();
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 *, " +
@@ -423,8 +419,6 @@ 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;