From 0125a98a1fab4c57cc058337a20998d9c8b3dc3f Mon Sep 17 00:00:00 2001
From: Charles Krinke
Date: Sun, 28 Dec 2008 22:31:21 +0000
Subject: Thank you kindly, StrawberryFride for a patch that: Persists
appearance with MSSQL more properly.
---
OpenSim/Data/MSSQL/MSSQLUserData.cs | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
(limited to 'OpenSim')
diff --git a/OpenSim/Data/MSSQL/MSSQLUserData.cs b/OpenSim/Data/MSSQL/MSSQLUserData.cs
index 69fd862..01a17dc 100644
--- a/OpenSim/Data/MSSQL/MSSQLUserData.cs
+++ b/OpenSim/Data/MSSQL/MSSQLUserData.cs
@@ -536,7 +536,6 @@ namespace OpenSim.Data.MSSQL
///
/// The user.
///
- /// TODO: stubs for now to get us to a compiling state gently
override public AvatarAppearance GetUserAppearance(UUID user)
{
try
@@ -550,6 +549,12 @@ namespace OpenSim.Data.MSSQL
{
if (reader.Read())
appearance = readUserAppearance(reader);
+ else
+ {
+ m_log.WarnFormat("[USER DB] No appearance found for user {0}", user.ToString());
+ return null;
+ }
+
}
}
--
cgit v1.1