mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 09:16:28 +08:00
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.
This commit is contained in:
@@ -348,7 +348,7 @@ namespace OpenSim.Data.SQLite
|
||||
DataTable prims = ds.Tables["prims"];
|
||||
DataTable shapes = ds.Tables["primshapes"];
|
||||
|
||||
string selectExp = "SceneGroupID = '" + Util.ToRawUuidString(obj) + "'";
|
||||
string selectExp = "SceneGroupID = '" + Util.ToRawUuidString(obj) + "' and RegionUUID = '" + Util.ToRawUuidString(regionUUID) + "'";
|
||||
lock (ds)
|
||||
{
|
||||
DataRow[] primRows = prims.Select(selectExp);
|
||||
|
||||
Reference in New Issue
Block a user