aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Storage
diff options
context:
space:
mode:
authorSean Dague2007-08-31 11:48:29 +0000
committerSean Dague2007-08-31 11:48:29 +0000
commita37275fe408ae4b9988b5edd16663d22f3c29e28 (patch)
tree985383ac2092c0378c3a8833854516810bb35d67 /OpenSim/Region/Storage
parentdanx0r (first checkin!) fixes OdePlugin.cs RemovePrim() lock bug (diff)
downloadopensim-SC_OLD-a37275fe408ae4b9988b5edd16663d22f3c29e28.zip
opensim-SC_OLD-a37275fe408ae4b9988b5edd16663d22f3c29e28.tar.gz
opensim-SC_OLD-a37275fe408ae4b9988b5edd16663d22f3c29e28.tar.bz2
opensim-SC_OLD-a37275fe408ae4b9988b5edd16663d22f3c29e28.tar.xz
change debugging around failed prim loading. I have one prim that doesn't
like loading in my environment, and hopefully this will help figure out what is going on
Diffstat (limited to 'OpenSim/Region/Storage')
-rw-r--r--OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs7
1 files changed, 5 insertions, 2 deletions
diff --git a/OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs b/OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs
index e1469d2..9f204e0 100644
--- a/OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs
+++ b/OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs
@@ -175,8 +175,11 @@ namespace OpenSim.DataStore.MonoSqliteStorage
175 createdObjects[new LLUUID(objID)].AddPart(prim); 175 createdObjects[new LLUUID(objID)].AddPart(prim);
176 } 176 }
177 } 177 }
178 catch (Exception) 178 catch (Exception e)
179 { 179 {
180
181 MainLog.Instance.Error("DATASTORE", "Failed create prim object, exception and data follows");
182 MainLog.Instance.Verbose(e.ToString());
180 foreach (DataColumn col in prims.Columns) 183 foreach (DataColumn col in prims.Columns)
181 { 184 {
182 MainLog.Instance.Verbose("Col: " + col.ColumnName + " => " + primRow[col]); 185 MainLog.Instance.Verbose("Col: " + col.ColumnName + " => " + primRow[col]);
@@ -184,7 +187,7 @@ namespace OpenSim.DataStore.MonoSqliteStorage
184 } 187 }
185 } 188 }
186 MainLog.Instance.Verbose("DATASTORE", "Sqlite - LoadObjects found " + prims.Rows.Count + " primitives"); 189 MainLog.Instance.Verbose("DATASTORE", "Sqlite - LoadObjects found " + prims.Rows.Count + " primitives");
187 return retvals; 190 return retvals;
188 } 191 }
189 192
190 public void StoreTerrain(double[,] ter) 193 public void StoreTerrain(double[,] ter)