aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorMelanie Thielker2009-03-22 16:12:48 +0000
committerMelanie Thielker2009-03-22 16:12:48 +0000
commit9b82b52096fd1b44aa80e4c6d673d1646b616052 (patch)
treed0f4e232c7385ebb633a1fc14b6150de1c5cff3e /OpenSim
parentAdd QueryItem method to secure inventory and HG inventory, change method sig to (diff)
downloadopensim-SC_OLD-9b82b52096fd1b44aa80e4c6d673d1646b616052.zip
opensim-SC_OLD-9b82b52096fd1b44aa80e4c6d673d1646b616052.tar.gz
opensim-SC_OLD-9b82b52096fd1b44aa80e4c6d673d1646b616052.tar.bz2
opensim-SC_OLD-9b82b52096fd1b44aa80e4c6d673d1646b616052.tar.xz
MYSQL Only: Make items given while offline appear in inventory without
the need to clear cache.
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Data/MySQL/MySQLInventoryData.cs9
1 files changed, 9 insertions, 0 deletions
diff --git a/OpenSim/Data/MySQL/MySQLInventoryData.cs b/OpenSim/Data/MySQL/MySQLInventoryData.cs
index 1a6f068..2f26cdf 100644
--- a/OpenSim/Data/MySQL/MySQLInventoryData.cs
+++ b/OpenSim/Data/MySQL/MySQLInventoryData.cs
@@ -497,6 +497,15 @@ namespace OpenSim.Data.MySQL
497 } 497 }
498 498
499 result.Dispose(); 499 result.Dispose();
500
501 result = new MySqlCommand("update inventoryfolders set version=version+1 where folderID = ?folderID", database.Connection);
502 result.Parameters.AddWithValue("?folderID", item.Folder.ToString
503());
504 lock (database)
505 {
506 result.ExecuteNonQuery();
507 }
508 result.Dispose();
500 } 509 }
501 catch (MySqlException e) 510 catch (MySqlException e)
502 { 511 {