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
0.8.0.3
Justin Clark-Casey (justincc) 2014-03-26 21:01:28 +00:00
parent de941d2ec7
commit 1247174db4
1 changed files with 1 additions and 1 deletions

View File

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