diff options
author | Charles Krinke | 2008-12-28 22:31:21 +0000 |
---|---|---|
committer | Charles Krinke | 2008-12-28 22:31:21 +0000 |
commit | 0125a98a1fab4c57cc058337a20998d9c8b3dc3f (patch) | |
tree | a397712ed0555c01e7527f3093160cd01b7547f2 /OpenSim | |
parent | Demonstration code for modular comms. No user functionality (diff) | |
download | opensim-SC-0125a98a1fab4c57cc058337a20998d9c8b3dc3f.zip opensim-SC-0125a98a1fab4c57cc058337a20998d9c8b3dc3f.tar.gz opensim-SC-0125a98a1fab4c57cc058337a20998d9c8b3dc3f.tar.bz2 opensim-SC-0125a98a1fab4c57cc058337a20998d9c8b3dc3f.tar.xz |
Thank you kindly, StrawberryFride for a patch that:
Persists appearance with MSSQL more properly.
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Data/MSSQL/MSSQLUserData.cs | 7 |
1 files changed, 6 insertions, 1 deletions
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 | |||
536 | /// </summary> | 536 | /// </summary> |
537 | /// <param name="user">The user.</param> | 537 | /// <param name="user">The user.</param> |
538 | /// <returns></returns> | 538 | /// <returns></returns> |
539 | /// TODO: stubs for now to get us to a compiling state gently | ||
540 | override public AvatarAppearance GetUserAppearance(UUID user) | 539 | override public AvatarAppearance GetUserAppearance(UUID user) |
541 | { | 540 | { |
542 | try | 541 | try |
@@ -550,6 +549,12 @@ namespace OpenSim.Data.MSSQL | |||
550 | { | 549 | { |
551 | if (reader.Read()) | 550 | if (reader.Read()) |
552 | appearance = readUserAppearance(reader); | 551 | appearance = readUserAppearance(reader); |
552 | else | ||
553 | { | ||
554 | m_log.WarnFormat("[USER DB] No appearance found for user {0}", user.ToString()); | ||
555 | return null; | ||
556 | } | ||
557 | |||
553 | } | 558 | } |
554 | } | 559 | } |
555 | 560 | ||