diff --git a/OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs b/OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs index a94f5c2ab7..7d96e554df 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()) {