aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/SQLite
diff options
context:
space:
mode:
authorSean Dague2008-10-01 15:41:36 +0000
committerSean Dague2008-10-01 15:41:36 +0000
commitd0099271948e6c908a11da0158ca3471d2afb568 (patch)
tree20b31fe040ba2acd1ffd4eea9557c8099a2cccdf /OpenSim/Data/SQLite
parentAdd a user server XMLRPC method to set the MOTD and the minimum GodLevel (diff)
downloadopensim-SC_OLD-d0099271948e6c908a11da0158ca3471d2afb568.zip
opensim-SC_OLD-d0099271948e6c908a11da0158ca3471d2afb568.tar.gz
opensim-SC_OLD-d0099271948e6c908a11da0158ca3471d2afb568.tar.bz2
opensim-SC_OLD-d0099271948e6c908a11da0158ca3471d2afb568.tar.xz
add delete prim tests. Found and fixed bugs where region
is not respected by sqlite or mysql drivers so that deleting and object in a region actually deletes that object from any region.
Diffstat (limited to 'OpenSim/Data/SQLite')
-rw-r--r--OpenSim/Data/SQLite/SQLiteRegionData.cs2
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);