aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Data/SQLite/SQLiteInventoryStore.cs4
1 files changed, 0 insertions, 4 deletions
diff --git a/OpenSim/Data/SQLite/SQLiteInventoryStore.cs b/OpenSim/Data/SQLite/SQLiteInventoryStore.cs
index c058bc7..a5e0517 100644
--- a/OpenSim/Data/SQLite/SQLiteInventoryStore.cs
+++ b/OpenSim/Data/SQLite/SQLiteInventoryStore.cs
@@ -391,9 +391,7 @@ namespace OpenSim.Data.SQLite
391 List<InventoryFolderBase> folders = new List<InventoryFolderBase>(); 391 List<InventoryFolderBase> folders = new List<InventoryFolderBase>();
392 DataTable inventoryFolderTable = ds.Tables["inventoryfolders"]; 392 DataTable inventoryFolderTable = ds.Tables["inventoryfolders"];
393 string selectExp = "agentID = '" + user + "' AND parentID = '" + UUID.Zero + "'"; 393 string selectExp = "agentID = '" + user + "' AND parentID = '" + UUID.Zero + "'";
394 m_log.DebugFormat("XXX selectExp = {0}", selectExp);
395 DataRow[] rows = inventoryFolderTable.Select(selectExp); 394 DataRow[] rows = inventoryFolderTable.Select(selectExp);
396 m_log.DebugFormat("XXX rows: {0}", rows.Length);
397 foreach (DataRow row in rows) 395 foreach (DataRow row in rows)
398 { 396 {
399 folders.Add(buildFolder(row)); 397 folders.Add(buildFolder(row));
@@ -406,11 +404,9 @@ namespace OpenSim.Data.SQLite
406 // suitably refactor. 404 // suitably refactor.
407 if (folders.Count > 0) 405 if (folders.Count > 0)
408 { 406 {
409 m_log.DebugFormat("XXX Found root folder");
410 return folders[0]; 407 return folders[0];
411 } 408 }
412 409
413 m_log.DebugFormat("XXX Root folder for {0} not found", user);
414 return null; 410 return null;
415 } 411 }
416 } 412 }