diff options
further adventures in .NET workarounds
Diffstat (limited to 'OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs')
-rw-r--r-- | OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs b/OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs index a94f5c2..7d96e55 100644 --- a/OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs +++ b/OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs | |||
@@ -274,7 +274,10 @@ namespace OpenSim.DataStore.MonoSqlite | |||
274 | using (IDbCommand cmd = conn.CreateCommand()) | 274 | using (IDbCommand cmd = conn.CreateCommand()) |
275 | { | 275 | { |
276 | cmd.CommandText = sql; | 276 | cmd.CommandText = sql; |
277 | cmd.Parameters.Add(new SqliteParameter(":RegionUUID", regionID.ToString())); | 277 | SqliteParameter param = new SqliteParameter(":RegionUUID", regionID.ToString()); |
278 | param.SourceColumn = "RegionUUID"; | ||
279 | param.SourceVersion = DataRowVersion.Current; | ||
280 | cmd.Parameters.Add(param); | ||
278 | 281 | ||
279 | using (IDataReader row = cmd.ExecuteReader()) | 282 | using (IDataReader row = cmd.ExecuteReader()) |
280 | { | 283 | { |