mantis 8212 fix sqlite parameter prefixing
parent
8b2e95d1c1
commit
6bf96f83c5
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue