mirror of
https://github.com/opensim/opensim.git
synced 2026-06-29 02:25:39 +08:00
fix wrong placement
This commit is contained in:
@@ -504,8 +504,6 @@ namespace OpenSim.Data.MySQL
|
||||
result.Dispose();
|
||||
}
|
||||
|
||||
dbcon.Close();
|
||||
|
||||
using (MySqlCommand result = new MySqlCommand("update inventoryfolders set version=version+1 where folderID = ?folderID", dbcon))
|
||||
{
|
||||
result.Parameters.AddWithValue("?folderID", item.Folder.ToString());
|
||||
@@ -513,6 +511,7 @@ namespace OpenSim.Data.MySQL
|
||||
lock (m_dbLock)
|
||||
result.ExecuteNonQuery();
|
||||
}
|
||||
dbcon.Close();
|
||||
}
|
||||
}
|
||||
catch (MySqlException e)
|
||||
|
||||
Reference in New Issue
Block a user