From 870837d4a8eb57f36e7d01f11d99d2fc70af285a Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Wed, 14 Nov 2007 15:35:27 +0000 Subject: further adventures in .NET workarounds --- .../Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'OpenSim/Region/Storage') 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 using (IDbCommand cmd = conn.CreateCommand()) { cmd.CommandText = sql; - cmd.Parameters.Add(new SqliteParameter(":RegionUUID", regionID.ToString())); + SqliteParameter param = new SqliteParameter(":RegionUUID", regionID.ToString()); + param.SourceColumn = "RegionUUID"; + param.SourceVersion = DataRowVersion.Current; + cmd.Parameters.Add(param); using (IDataReader row = cmd.ExecuteReader()) { -- cgit v1.1