mantis 8212 fix sqlite parameter prefixing

0.9.0-post-fixes
UbitUmarov 2017-07-23 14:29:11 +01:00
parent 8b2e95d1c1
commit 6bf96f83c5
1 changed files with 1 additions and 1 deletions

View File

@ -305,7 +305,7 @@ namespace OpenSim.Data.SQLite
using (SqliteCommand cmd = new SqliteCommand()) 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)); cmd.Parameters.Add(new SqliteParameter(":folderID", folderID));
if(ExecuteNonQuery(cmd, m_Connection) == 0) if(ExecuteNonQuery(cmd, m_Connection) == 0)