aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/MySQL/MySQLSimulationData.cs
diff options
context:
space:
mode:
authorMelanie2012-12-09 23:25:07 +0100
committerMelanie2012-12-09 23:25:07 +0100
commit8e6bc554702c4e5083dc1bda98ba77d57a995fb1 (patch)
tree06063f94158ccb31d3929f2f71185ac55a08324f /OpenSim/Data/MySQL/MySQLSimulationData.cs
parent*TEST* diferent avatar collider (diff)
downloadopensim-SC-8e6bc554702c4e5083dc1bda98ba77d57a995fb1.zip
opensim-SC-8e6bc554702c4e5083dc1bda98ba77d57a995fb1.tar.gz
opensim-SC-8e6bc554702c4e5083dc1bda98ba77d57a995fb1.tar.bz2
opensim-SC-8e6bc554702c4e5083dc1bda98ba77d57a995fb1.tar.xz
Check database for root prim IDs only to try and get a handle on prim loss
once and for all.
Diffstat (limited to 'OpenSim/Data/MySQL/MySQLSimulationData.cs')
-rw-r--r--OpenSim/Data/MySQL/MySQLSimulationData.cs2
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))