mirror of
https://github.com/opensim/opensim.git
synced 2026-06-27 17:25:48 +08:00
MYSQL Only: Make items given while offline appear in inventory without
the need to clear cache.
This commit is contained in:
@@ -497,6 +497,15 @@ namespace OpenSim.Data.MySQL
|
||||
}
|
||||
|
||||
result.Dispose();
|
||||
|
||||
result = new MySqlCommand("update inventoryfolders set version=version+1 where folderID = ?folderID", database.Connection);
|
||||
result.Parameters.AddWithValue("?folderID", item.Folder.ToString
|
||||
());
|
||||
lock (database)
|
||||
{
|
||||
result.ExecuteNonQuery();
|
||||
}
|
||||
result.Dispose();
|
||||
}
|
||||
catch (MySqlException e)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user