mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
Miscellaneous small tweaks and more logging messages to move towards resolving inventory problems
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user