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

0.7.4-extended
Justin Clark-Casey (justincc) 2012-08-31 00:29:57 +01:00
parent ba2792bd1f
commit d0a6d82a23
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)