diff options
Diffstat (limited to 'OpenSim/Data/SQLite/SQLiteRegionData.cs')
-rw-r--r-- | OpenSim/Data/SQLite/SQLiteRegionData.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Data/SQLite/SQLiteRegionData.cs b/OpenSim/Data/SQLite/SQLiteRegionData.cs index 74715c0..bc64ba0 100644 --- a/OpenSim/Data/SQLite/SQLiteRegionData.cs +++ b/OpenSim/Data/SQLite/SQLiteRegionData.cs | |||
@@ -348,7 +348,7 @@ namespace OpenSim.Data.SQLite | |||
348 | DataTable prims = ds.Tables["prims"]; | 348 | DataTable prims = ds.Tables["prims"]; |
349 | DataTable shapes = ds.Tables["primshapes"]; | 349 | DataTable shapes = ds.Tables["primshapes"]; |
350 | 350 | ||
351 | string selectExp = "SceneGroupID = '" + Util.ToRawUuidString(obj) + "'"; | 351 | string selectExp = "SceneGroupID = '" + Util.ToRawUuidString(obj) + "' and RegionUUID = '" + Util.ToRawUuidString(regionUUID) + "'"; |
352 | lock (ds) | 352 | lock (ds) |
353 | { | 353 | { |
354 | DataRow[] primRows = prims.Select(selectExp); | 354 | DataRow[] primRows = prims.Select(selectExp); |