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/Data/MySQL | |
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/Data/MySQL')
-rw-r--r-- | OpenSim/Data/MySQL/MySQLInventoryData.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Data/MySQL/MySQLInventoryData.cs b/OpenSim/Data/MySQL/MySQLInventoryData.cs index 7d29061..1a6f068 100644 --- a/OpenSim/Data/MySQL/MySQLInventoryData.cs +++ b/OpenSim/Data/MySQL/MySQLInventoryData.cs | |||
@@ -539,6 +539,11 @@ namespace OpenSim.Data.MySQL | |||
539 | } | 539 | } |
540 | } | 540 | } |
541 | 541 | ||
542 | public InventoryItemBase queryInventoryItem(UUID itemID) | ||
543 | { | ||
544 | return getInventoryItem(itemID); | ||
545 | } | ||
546 | |||
542 | /// <summary> | 547 | /// <summary> |
543 | /// Creates a new inventory folder | 548 | /// Creates a new inventory folder |
544 | /// </summary> | 549 | /// </summary> |