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 fix0.8.0.3
parent
de941d2ec7
commit
1247174db4
|
@ -278,7 +278,7 @@ namespace OpenSim.Data.MSSQL
|
||||||
// m_log.DebugFormat("[MYSQL ITEM HANDLER]: Incrementing version on folder {0}", folderID);
|
// m_log.DebugFormat("[MYSQL ITEM HANDLER]: Incrementing version on folder {0}", folderID);
|
||||||
// Util.PrintCallStack();
|
// 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))
|
using (SqlConnection conn = new SqlConnection(m_ConnectionString))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue