aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-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 {