diff options
author | Melanie | 2012-12-09 23:25:07 +0100 |
---|---|---|
committer | Melanie | 2012-12-09 23:25:07 +0100 |
commit | 8e6bc554702c4e5083dc1bda98ba77d57a995fb1 (patch) | |
tree | 06063f94158ccb31d3929f2f71185ac55a08324f | |
parent | *TEST* diferent avatar collider (diff) | |
download | opensim-SC_OLD-8e6bc554702c4e5083dc1bda98ba77d57a995fb1.zip opensim-SC_OLD-8e6bc554702c4e5083dc1bda98ba77d57a995fb1.tar.gz opensim-SC_OLD-8e6bc554702c4e5083dc1bda98ba77d57a995fb1.tar.bz2 opensim-SC_OLD-8e6bc554702c4e5083dc1bda98ba77d57a995fb1.tar.xz |
Check database for root prim IDs only to try and get a handle on prim loss
once and for all.
-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)) |