diff options
Diffstat (limited to 'OpenSim/Data')
-rw-r--r-- | OpenSim/Data/MySQL/MySQLSimulationData.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Data/MySQL/MySQLSimulationData.cs b/OpenSim/Data/MySQL/MySQLSimulationData.cs index 12c979a..01b9299 100644 --- a/OpenSim/Data/MySQL/MySQLSimulationData.cs +++ b/OpenSim/Data/MySQL/MySQLSimulationData.cs | |||
@@ -2028,7 +2028,7 @@ namespace OpenSim.Data.MySQL | |||
2028 | 2028 | ||
2029 | using (MySqlCommand cmd = dbcon.CreateCommand()) | 2029 | using (MySqlCommand cmd = dbcon.CreateCommand()) |
2030 | { | 2030 | { |
2031 | cmd.CommandText = "select UUID from prims where RegionUUID = ?RegionUUID"; | 2031 | cmd.CommandText = "select UUID from prims where RegionUUID = ?RegionUUID and SceneGroupID = UUID"; |
2032 | cmd.Parameters.AddWithValue("RegionUUID", regionID.ToString()); | 2032 | cmd.Parameters.AddWithValue("RegionUUID", regionID.ToString()); |
2033 | 2033 | ||
2034 | using (IDataReader reader = ExecuteReader(cmd)) | 2034 | using (IDataReader reader = ExecuteReader(cmd)) |