diff options
author | UbitUmarov | 2017-07-23 14:29:11 +0100 |
---|---|---|
committer | UbitUmarov | 2017-07-23 14:29:11 +0100 |
commit | 6bf96f83c5cd9a87989ea6b89892833120314b07 (patch) | |
tree | c267a56ece70174bb545f60f3af7f89c399578f4 /OpenSim/Data/SQLite/SQLiteXInventoryData.cs | |
parent | add a rudimentary version control to ubOde meshs cache (diff) | |
download | opensim-SC_OLD-6bf96f83c5cd9a87989ea6b89892833120314b07.zip opensim-SC_OLD-6bf96f83c5cd9a87989ea6b89892833120314b07.tar.gz opensim-SC_OLD-6bf96f83c5cd9a87989ea6b89892833120314b07.tar.bz2 opensim-SC_OLD-6bf96f83c5cd9a87989ea6b89892833120314b07.tar.xz |
mantis 8212 fix sqlite parameter prefixing
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Data/SQLite/SQLiteXInventoryData.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Data/SQLite/SQLiteXInventoryData.cs b/OpenSim/Data/SQLite/SQLiteXInventoryData.cs index 7cce5e4..4ef1f30 100644 --- a/OpenSim/Data/SQLite/SQLiteXInventoryData.cs +++ b/OpenSim/Data/SQLite/SQLiteXInventoryData.cs | |||
@@ -305,7 +305,7 @@ namespace OpenSim.Data.SQLite | |||
305 | 305 | ||
306 | using (SqliteCommand cmd = new SqliteCommand()) | 306 | using (SqliteCommand cmd = new SqliteCommand()) |
307 | { | 307 | { |
308 | cmd.CommandText = "update inventoryfolders set version=version+1 where folderID = ?folderID"; | 308 | cmd.CommandText = "update inventoryfolders set version=version+1 where folderID = :folderID"; |
309 | cmd.Parameters.Add(new SqliteParameter(":folderID", folderID)); | 309 | cmd.Parameters.Add(new SqliteParameter(":folderID", folderID)); |
310 | 310 | ||
311 | if(ExecuteNonQuery(cmd, m_Connection) == 0) | 311 | if(ExecuteNonQuery(cmd, m_Connection) == 0) |