diff options
author | Melanie Thielker | 2009-03-21 17:46:58 +0000 |
---|---|---|
committer | Melanie Thielker | 2009-03-21 17:46:58 +0000 |
commit | 1121a214b9258487dae0d84dad1a0b495d2f80bd (patch) | |
tree | 10576cab4d44bbe39f4f759f8ffac68530e40055 /OpenSim/Tests/Common | |
parent | Move a check for null PhysActor in applyImpulse so that attachments can move ... (diff) | |
download | opensim-SC_OLD-1121a214b9258487dae0d84dad1a0b495d2f80bd.zip opensim-SC_OLD-1121a214b9258487dae0d84dad1a0b495d2f80bd.tar.gz opensim-SC_OLD-1121a214b9258487dae0d84dad1a0b495d2f80bd.tar.bz2 opensim-SC_OLD-1121a214b9258487dae0d84dad1a0b495d2f80bd.tar.xz |
Add a QueryItem method to the inventory subsystem. Currently implemented for
MySQL only, stubs for the others. This allows updating the cache with a single
item from the database.
Diffstat (limited to 'OpenSim/Tests/Common')
-rw-r--r-- | OpenSim/Tests/Common/Mock/TestInventoryDataPlugin.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Tests/Common/Mock/TestInventoryDataPlugin.cs b/OpenSim/Tests/Common/Mock/TestInventoryDataPlugin.cs index 59d923c..69b0917 100644 --- a/OpenSim/Tests/Common/Mock/TestInventoryDataPlugin.cs +++ b/OpenSim/Tests/Common/Mock/TestInventoryDataPlugin.cs | |||
@@ -115,6 +115,11 @@ namespace OpenSim.Tests.Common.Mock | |||
115 | public void updateInventoryItem(InventoryItemBase item) {} | 115 | public void updateInventoryItem(InventoryItemBase item) {} |
116 | public void deleteInventoryItem(UUID item) {} | 116 | public void deleteInventoryItem(UUID item) {} |
117 | 117 | ||
118 | public InventoryItemBase queryInventoryItem(UUID item) | ||
119 | { | ||
120 | return null; | ||
121 | } | ||
122 | |||
118 | public void addInventoryFolder(InventoryFolderBase folder) | 123 | public void addInventoryFolder(InventoryFolderBase folder) |
119 | { | 124 | { |
120 | m_folders[folder.ID] = folder; | 125 | m_folders[folder.ID] = folder; |