diff options
The regionUUID is now being passed to the datastore calls.
Diffstat (limited to 'OpenSim/Region/Storage/OpenSim.DataStore.DB4o')
-rw-r--r-- | OpenSim/Region/Storage/OpenSim.DataStore.DB4o/DB4oDataStore.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Storage/OpenSim.DataStore.DB4o/DB4oDataStore.cs b/OpenSim/Region/Storage/OpenSim.DataStore.DB4o/DB4oDataStore.cs index 9c5e4bc..73eb635 100644 --- a/OpenSim/Region/Storage/OpenSim.DataStore.DB4o/DB4oDataStore.cs +++ b/OpenSim/Region/Storage/OpenSim.DataStore.DB4o/DB4oDataStore.cs | |||
@@ -43,12 +43,12 @@ namespace OpenSim.DataStore.DB4oStorage | |||
43 | return; | 43 | return; |
44 | } | 44 | } |
45 | 45 | ||
46 | public void StoreObject(SceneObjectGroup obj) | 46 | public void StoreObject(SceneObjectGroup obj, LLUUID regionUUID) |
47 | { | 47 | { |
48 | db.Set(obj); | 48 | db.Set(obj); |
49 | } | 49 | } |
50 | 50 | ||
51 | public void RemoveObject(LLUUID obj) | 51 | public void RemoveObject(LLUUID obj, LLUUID regionUUID) |
52 | { | 52 | { |
53 | IObjectSet result = db.Query(new SceneObjectQuery(obj)); | 53 | IObjectSet result = db.Query(new SceneObjectQuery(obj)); |
54 | if (result.Count > 0) | 54 | if (result.Count > 0) |
@@ -58,7 +58,7 @@ namespace OpenSim.DataStore.DB4oStorage | |||
58 | } | 58 | } |
59 | } | 59 | } |
60 | 60 | ||
61 | public List<SceneObjectGroup> LoadObjects() | 61 | public List<SceneObjectGroup> LoadObjects(LLUUID regionUUID) |
62 | { | 62 | { |
63 | IObjectSet result = db.Get(typeof(SceneObjectGroup)); | 63 | IObjectSet result = db.Get(typeof(SceneObjectGroup)); |
64 | List<SceneObjectGroup> retvals = new List<SceneObjectGroup>(); | 64 | List<SceneObjectGroup> retvals = new List<SceneObjectGroup>(); |