MYSQL Only: Make items given while offline appear in inventory without

the need to clear cache.
0.6.5-rc1
Melanie Thielker 2009-03-22 16:12:48 +00:00
parent e6bb86a224
commit 9b82b52096
1 changed files with 9 additions and 0 deletions

View File

@ -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)
{