From 1247174db4ec0850884062d08b753e62256be82a Mon Sep 17 00:00:00 2001 From: "Justin Clark-Casey (justincc)" Date: Wed, 26 Mar 2014 21:01:28 +0000 Subject: [PATCH] Fix MSSQLInventoryHandler.IncreementFolderVersion where sql accidentally used a MySQL style ?folderID insted of @folderID Thanks to LuciusSirnah in http://opensimulator.org/mantis/view.php?id=7075 for this fix --- OpenSim/Data/MSSQL/MSSQLXInventoryData.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenSim/Data/MSSQL/MSSQLXInventoryData.cs b/OpenSim/Data/MSSQL/MSSQLXInventoryData.cs index 9164ffe4e3..bfef6825ff 100644 --- a/OpenSim/Data/MSSQL/MSSQLXInventoryData.cs +++ b/OpenSim/Data/MSSQL/MSSQLXInventoryData.cs @@ -278,7 +278,7 @@ namespace OpenSim.Data.MSSQL // m_log.DebugFormat("[MYSQL ITEM HANDLER]: Incrementing version on folder {0}", folderID); // Util.PrintCallStack(); - string sql = "update inventoryfolders set version=version+1 where folderID = ?folderID"; + string sql = "update inventoryfolders set version=version+1 where folderID = @folderID"; using (SqlConnection conn = new SqlConnection(m_ConnectionString)) {