From 1121a214b9258487dae0d84dad1a0b495d2f80bd Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Sat, 21 Mar 2009 17:46:58 +0000 Subject: 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. --- OpenSim/Tests/Common/Mock/TestInventoryDataPlugin.cs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'OpenSim/Tests/Common/Mock') 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 public void updateInventoryItem(InventoryItemBase item) {} public void deleteInventoryItem(UUID item) {} + public InventoryItemBase queryInventoryItem(UUID item) + { + return null; + } + public void addInventoryFolder(InventoryFolderBase folder) { m_folders[folder.ID] = folder; -- cgit v1.1