diff options
author | Sean Dague | 2007-11-14 15:35:27 +0000 |
---|---|---|
committer | Sean Dague | 2007-11-14 15:35:27 +0000 |
commit | 870837d4a8eb57f36e7d01f11d99d2fc70af285a (patch) | |
tree | aefa0e33786f2c0e1e090ee9d52d3a5c6b13fa6c /OpenSim | |
parent | no, this probably won't work either, but I'm going to at least make sure it w... (diff) | |
download | opensim-SC_OLD-870837d4a8eb57f36e7d01f11d99d2fc70af285a.zip opensim-SC_OLD-870837d4a8eb57f36e7d01f11d99d2fc70af285a.tar.gz opensim-SC_OLD-870837d4a8eb57f36e7d01f11d99d2fc70af285a.tar.bz2 opensim-SC_OLD-870837d4a8eb57f36e7d01f11d99d2fc70af285a.tar.xz |
further adventures in .NET workarounds
Diffstat (limited to 'OpenSim')
-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 | { |