aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/MySQL
diff options
context:
space:
mode:
authorUbitUmarov2014-09-21 23:39:50 +0100
committerUbitUmarov2014-09-21 23:39:50 +0100
commite25849e1c46c9db61d5a44e3a696fdf7a934892b (patch)
treec8ea604712e6987295f911b99805d5fd87fdf666 /OpenSim/Data/MySQL
parentcompile fix (diff)
downloadopensim-SC-e25849e1c46c9db61d5a44e3a696fdf7a934892b.zip
opensim-SC-e25849e1c46c9db61d5a44e3a696fdf7a934892b.tar.gz
opensim-SC-e25849e1c46c9db61d5a44e3a696fdf7a934892b.tar.bz2
opensim-SC-e25849e1c46c9db61d5a44e3a696fdf7a934892b.tar.xz
remove redundant lock
Diffstat (limited to 'OpenSim/Data/MySQL')
-rw-r--r--OpenSim/Data/MySQL/MySQLSimulationData.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Data/MySQL/MySQLSimulationData.cs b/OpenSim/Data/MySQL/MySQLSimulationData.cs
index f743663..cc844ae 100644
--- a/OpenSim/Data/MySQL/MySQLSimulationData.cs
+++ b/OpenSim/Data/MySQL/MySQLSimulationData.cs
@@ -308,7 +308,8 @@ namespace OpenSim.Data.MySQL
308 /// <param name="uuid">the Item UUID</param> 308 /// <param name="uuid">the Item UUID</param>
309 private void RemoveItems(UUID uuid) 309 private void RemoveItems(UUID uuid)
310 { 310 {
311 lock (m_dbLock) 311 // locked by caller
312// lock (m_dbLock)
312 { 313 {
313 using (MySqlConnection dbcon = new MySqlConnection(m_connectionString)) 314 using (MySqlConnection dbcon = new MySqlConnection(m_connectionString))
314 { 315 {