add a lock on the update, this should have been there before.
still not convinced this will help, but it was wrong.0.6.0-stable
parent
36bfa66719
commit
1ebc6bfd0a
|
@ -695,10 +695,21 @@ namespace OpenSim.Data.MySQL
|
||||||
}
|
}
|
||||||
// override
|
// override
|
||||||
override public void UpdateUserAppearance(LLUUID user, AvatarAppearance appearance)
|
override public void UpdateUserAppearance(LLUUID user, AvatarAppearance appearance)
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
lock (database)
|
||||||
{
|
{
|
||||||
appearance.Owner = user;
|
appearance.Owner = user;
|
||||||
database.insertAppearanceRow(appearance);
|
database.insertAppearanceRow(appearance);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
catch (Exception e)
|
||||||
|
{
|
||||||
|
database.Reconnect();
|
||||||
|
m_log.Error(e.ToString());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
override public void AddAttachment(LLUUID user, LLUUID item)
|
override public void AddAttachment(LLUUID user, LLUUID item)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue