further adventures in .NET workarounds

afrisby
Sean Dague 2007-11-14 15:35:27 +00:00
parent 2aec70666a
commit 870837d4a8
1 changed files with 4 additions and 1 deletions

View File

@ -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())
{