From 6bf96f83c5cd9a87989ea6b89892833120314b07 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Sun, 23 Jul 2017 14:29:11 +0100 Subject: [PATCH] mantis 8212 fix sqlite parameter prefixing --- OpenSim/Data/SQLite/SQLiteXInventoryData.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenSim/Data/SQLite/SQLiteXInventoryData.cs b/OpenSim/Data/SQLite/SQLiteXInventoryData.cs index 7cce5e4ed3..4ef1f30a8d 100644 --- a/OpenSim/Data/SQLite/SQLiteXInventoryData.cs +++ b/OpenSim/Data/SQLite/SQLiteXInventoryData.cs @@ -305,7 +305,7 @@ namespace OpenSim.Data.SQLite using (SqliteCommand cmd = new SqliteCommand()) { - cmd.CommandText = "update inventoryfolders set version=version+1 where folderID = ?folderID"; + cmd.CommandText = "update inventoryfolders set version=version+1 where folderID = :folderID"; cmd.Parameters.Add(new SqliteParameter(":folderID", folderID)); if(ExecuteNonQuery(cmd, m_Connection) == 0)