aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2014-03-26 21:01:28 +0000
committerJustin Clark-Casey (justincc)2014-03-26 21:02:26 +0000
commit1247174db4ec0850884062d08b753e62256be82a (patch)
tree5b377672aa782b270e15969ec0380148bb09f5f1
parentminor: remove compiler warning from NullEstateData (diff)
downloadopensim-SC-1247174db4ec0850884062d08b753e62256be82a.zip
opensim-SC-1247174db4ec0850884062d08b753e62256be82a.tar.gz
opensim-SC-1247174db4ec0850884062d08b753e62256be82a.tar.bz2
opensim-SC-1247174db4ec0850884062d08b753e62256be82a.tar.xz
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
Diffstat (limited to '')
-rw-r--r--OpenSim/Data/MSSQL/MSSQLXInventoryData.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Data/MSSQL/MSSQLXInventoryData.cs b/OpenSim/Data/MSSQL/MSSQLXInventoryData.cs
index 9164ffe..bfef682 100644
--- a/OpenSim/Data/MSSQL/MSSQLXInventoryData.cs
+++ b/OpenSim/Data/MSSQL/MSSQLXInventoryData.cs
@@ -278,7 +278,7 @@ namespace OpenSim.Data.MSSQL
278// m_log.DebugFormat("[MYSQL ITEM HANDLER]: Incrementing version on folder {0}", folderID); 278// m_log.DebugFormat("[MYSQL ITEM HANDLER]: Incrementing version on folder {0}", folderID);
279// Util.PrintCallStack(); 279// Util.PrintCallStack();
280 280
281 string sql = "update inventoryfolders set version=version+1 where folderID = ?folderID"; 281 string sql = "update inventoryfolders set version=version+1 where folderID = @folderID";
282 282
283 using (SqlConnection conn = new SqlConnection(m_ConnectionString)) 283 using (SqlConnection conn = new SqlConnection(m_ConnectionString))
284 { 284 {