MYSQL Only: Make items given while offline appear in inventory without
the need to clear cache.0.6.5-rc1
parent
e6bb86a224
commit
9b82b52096
|
@ -497,6 +497,15 @@ namespace OpenSim.Data.MySQL
|
||||||
}
|
}
|
||||||
|
|
||||||
result.Dispose();
|
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)
|
catch (MySqlException e)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue