Do Windlight storage and removal calls in MySQL under m_dbLock, as is done with all the other database calls.

integration
Justin Clark-Casey (justincc) 2012-08-31 00:29:57 +01:00
parent 3ed0d79b00
commit 7c6e8fab15
1 changed files with 108 additions and 102 deletions

View File

@ -852,6 +852,8 @@ namespace OpenSim.Data.MySQL
}
public void StoreRegionWindlightSettings(RegionLightShareData wl)
{
lock (m_dbLock)
{
using (MySqlConnection dbcon = new MySqlConnection(m_connectionString))
{
@ -953,8 +955,11 @@ namespace OpenSim.Data.MySQL
}
}
}
}
public void RemoveRegionWindlightSettings(UUID regionID)
{
lock (m_dbLock)
{
using (MySqlConnection dbcon = new MySqlConnection(m_connectionString))
{
@ -968,6 +973,7 @@ namespace OpenSim.Data.MySQL
}
}
}
}
#region RegionEnvironmentSettings
public string LoadRegionEnvironmentSettings(UUID regionUUID)