Miscellaneous small tweaks and more logging messages to move towards resolving inventory problems

This commit is contained in:
Justin Clarke Casey
2007-12-23 02:14:29 +00:00
parent 1a679c8cd9
commit c545cc8cd9
4 changed files with 39 additions and 12 deletions

View File

@@ -27,6 +27,7 @@
*/
using System.Collections.Generic;
using libsecondlife;
using OpenSim.Framework.Console;
namespace OpenSim.Framework.Communications.Cache
{
@@ -61,12 +62,14 @@ namespace OpenSim.Framework.Communications.Cache
if (userInfo.UserProfile != null)
{
RequestInventoryForUser(userID, userInfo);
// The request itself will occur when the agent finishes logging on to the region
// so there's no need to do it here.
//RequestInventoryForUser(userID, userInfo);
m_userProfiles.Add(userID, userInfo);
}
else
{
System.Console.WriteLine("CACHE", "User profile for user not found");
MainLog.Instance.Error("USERCACHE", "User profile for user {0} not found", userID);
}
}
}

View File

@@ -286,7 +286,7 @@ namespace OpenSim.Framework.Data.MSSQL
/// </summary>
/// <param name="reader">The SQL Result</param>
/// <returns>the item read</returns>
public InventoryItemBase readInventoryItem(IDataReader reader)
private InventoryItemBase readInventoryItem(IDataReader reader)
{
try
{

View File

@@ -302,7 +302,7 @@ namespace OpenSim.Framework.Data.MySQL
/// </summary>
/// <param name="reader">The SQL Result</param>
/// <returns>the item read</returns>
public InventoryItemBase readInventoryItem(MySqlDataReader reader)
private InventoryItemBase readInventoryItem(MySqlDataReader reader)
{
try
{